InterviewSolution
Saved Bookmarks
| 1. |
Output of following C program? Assume that all necessary header files are includedint main(){char *s1 = (char *)malloc(50);char *s2 = (char *)malloc(50);strcpy(s1, "Geeks");strcpy(s2, "Quiz");strcat(s1, s2);printf("%s", s1);return 0;}(A) GeeksQuiz(B) Geeks(C) Geeks Quiz(D) Quiz |
| Answer» | |