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';


Answer: A

Computer Science & Information Technology

You might also like to view...

Once a deliverable has been transferred to an acquiring organization, the product's operation must not be dependent on which of the following items?

A. Non-deliverables B. Independent components C. Developer support D. COTS

Computer Science & Information Technology

____________ are spaces that appear at the end of a string.

a. Hanging spaces b. Trailing spaces c. Padded spaces d. Suffix spaces

Computer Science & Information Technology

With the vertical-align property, the ____________________ value aligns the bottom of the image with the text.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The interface system that came installed in all Macs was the ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology