Question: Time left 0 : 1 9 : 3 5 Question 2 Not yet answered Marked out of 1 . 0 0 Flag question Question text

Time left 0:19:35
Question 2
Not yet answered
Marked out of 1.00
Flag question
Question text
Given the declaration
char messages[4][8]={"Hello","Hi", "There", "Bye"};
Which are the valid call(s) on the array?
Question 2 Select one or more:
printf("%c", messages[1]);
printf("%s", messages[1][2]);
int d = strcmp (messages[1], messages[3]);
printf("%s", messages[1]);
messages[1]= "Hello";
messages[1][0]= messages[2][1];
printf("%d", strlen(messages[1]));

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!