

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the program? #include #include int main() { char *s; char *fun(); s = fun(); printf("%s\n", s); return 0; } char *fun() { char buffer[30]; strcpy(buffer, "RAM"); return (buffer); } |
A. | 0xffff |
B. | Garbage value |
C. | 0xffee |
D. | Error |
Answer» C. 0xffee | |