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. Depends on compiler
B. Segmentation fault/code crash
C. Executable file name
D. Nothing
E. None of these
Answer» C. Executable file name


Discussion

No Comment Found