MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code (run without any command line arguments)?#include <stdio.h> int main(int argc, char *argv[]) { while (*argv != NULL) printf("%s n", *(argv++)); return 0; } |
| A. | Executable file name |
| B. | Depends on the compiler |
| C. | Nothing |
| D. | Segmentation fault/code crash |
| E. | None of these |
| Answer» B. Depends on the compiler | |