The following code is valid in C:
char *message;
strcpy(message,"abcdef");
Correct Answer:
Verified
Q18: When adding or subtracting numbers to pointers,
Q19: Addresses cannot be incremented or decremented using
Q20: When initializing pointers you must be careful
Q21: When an array is passed to a
Q22: If nums is a two-dimensional integer array,
Q24: Instead of initially creating a string as
Q25: The declaration char *seasons[4]; creates an array
Q26: &grade[3] is equivalent to _; assume that
Q27: The address operator in C is _.
A)&
B)*
C)->
D)")"
Q28: The indirection operator in C is _.
A)&
B)*
C)->
D)")"
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents