Multiple Choice
After creating two variables as follows:
Char message1[81] = "this is a string";
Char *message2 = "this is a string";
The statement ____ is not valid in C.
A) message1 = "A new message";
B) message2 = "A new message";
C) message2 = message1;
D) message2[0] = 'T';
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q22: Access to an array using a subscript
Q23: You can replace lines 5 and 6
Q24: The following code is valid in C:<br>char
Q25: A suitable equivalent to the function header
Q26: When working with pointers, the _ tells
Q28: One advantage of using subscripts for array
Q29: Offsets may be included in expressions using
Q30: The address stored in the array name
Q31: When adding or subtracting numbers to pointers,
Q32: In performing _ on pointers, we must