

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code?#include <stdio.h> int main() { char *s = "Interview, Mania"; char *s1 = "Interview, Mania"; if (strcmp(s, s1)) { printf("Equal"); } else { printf("Not Equal"); } } |
A. | Compilation Error |
B. | Equal |
C. | Garbage value |
D. | Not Equal |
E. | None of these |
Answer» E. None of these | |