-
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");
}
}
-
- Compilation Error
- Equal
- Garbage value
- Not Equal
- None of these
Correct Option: D
Not Equal