Question: (a) Explain the strcmp() function that 3 points is used for processing strings in the C language. Your answer 2 points (b) What will be
(a) Explain the strcmp() function that 3 points is used for processing strings in the C language. Your answer 2 points (b) What will be displayed when the below C code segment is executed? void main(void) { char word1 []="Joe Biden"; char word2 []="Donald Trump"; if (strcmp (vari, var2) ==0) printf ("Print number one "); else printf("Print number two "); 1 Your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
