Question: 2) Write the code output in the corresponding box: a) #include int main() { char string[5]; char *string2 =haay; for (size_t i=0; (string[i] =*(string2+3-1))

    2) Write the code output in the corresponding box: a) #include int 

2) Write the code output in the corresponding box: a) #include int main() { char string[5]; char *string2 ="haay"; for (size_t i=0; (string[i] =*(string2+3-1)) != '\0'; i++) { printf("%c",string[i]); } b) #include #include int main() { char *string1[4] ={"hello", "bye", "hehe", "yoyo"}; int array [4]={0}; char *string2[4]; for (int i=0; i

Step by Step Solution

3.33 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a c include stdio h int main char string5 char string2 haay for sizet i 0 stringi string2 3 1 ... View full answer

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!