

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the program if it is executed like below?_x000D_ cmd> sample_x000D_ /* sample.c */_x000D_ #include_x000D_ _x000D_ int main(int argc, char **argv)_x000D_ {_x000D_ printf("%s\n", argv[argc-1]);_x000D_ return 0;_x000D_ } |
A. | 0 |
B. | sample |
C. | samp |
D. | No output |
Answer» C. samp | |