1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
char s[15] = "Interview";
char *s1 = " Mania";
strcat(s, s1);
printf("%s %d", s, s[15]);
}

A. Interview
B. Interview Mania 0
C. Mania
D. Compilation Error
E. None of these
Answer» C. Mania


Discussion

No Comment Found