-
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[])
{
printf("%s\n", argv[argc]);
return 0;
}
-
- Depends on compiler
- Compilation Error
- Executable file name
- Segmentation fault/code crash
- None of these
Correct Option: D
Segmentation fault/code crash