What is displayed by the code fragment below if the memory for next immediately follows the memory for word?
```
char word[12], next[4] = "Joe";
word[0] = 'c';
word[1] = 'a';
word[2] = 't';
printf("%s\n", word);
```
a. a line with just the word "cat"
b. a line with the word "cat" followed by nine blanks
c. the word "cat" followed by whatever garbage is in word[3] through word[11] followed by Joe (unless there is a null character somewhere in word[3] through word[11])
d. an error message
e. the word "cat", the word "Joe", and the word "cat" again
c. the word "cat" followed by whatever garbage is in word[3] through word[11] followed by Joe (unless there is a null character somewhere in word[3] through word[11])
You might also like to view...
____ clustering is a more complex model in which all members of a cluster simultaneously provide application services.
A. Passive/active B. Passive/passive C. Active/passive D. Active/active
Field Size is an example of a field ____.
A. property B. name C. ID D. caption
The federal site ____________________ provides a guide to assist in the process of usability testing.
Fill in the blank(s) with the appropriate word(s).
A _____ might involve maximums for one or more resources, such as time, dollars, or people.
A. successor task B. constraint C. task ID D. milestone