-
What will be the output of the following C code?
#include <stdio.h>
int main()
{
char *s1 = "Interview Mania ";
char s2[] = "welcome to\n";
strcpy(s2, s1);
printf("%s\n", s2);
return 0;
}
-
- Welcome to
- Interview Mania
- Welcome to Interview Mania
- All of above
- None of these
Correct Option: B
Interview Mania