2023 1 Write the output of the following segment of code Do it using pencil and paper typedef | Assignment Collections
Computer Science 2023 programming in C Language
2023 1 Write the output of the following segment of code Do it using pencil and paper typedef | Assignment Collections
1) Write the output of the following segment of code. Do it using pencil and paper
typedef char* string;
char msg1[]= {“There will be no quiz next week. Hooray!”};
char msg2[]= {“Thank you. I don’t have to study CSCI610”};
string str1,str2,str3,str4,str5,str6;
str1 = strrchr(msg1,’n’);
str2 = strchr(str1,’H’);
*(str2-1)=’