MCQOPTIONS
Saved Bookmarks
| 1. |
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; } |
| A. | Welcome to |
| B. | Interview Mania |
| C. | Welcome to Interview Mania |
| D. | All of above |
| E. | None of these |
| Answer» C. Welcome to Interview Mania | |