0
The following C program is compiled to a.out and then run from the shell with the command ./a.out hello world. What is the output?
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("%d", argc);
return 0;
}- A1
- B3
- C2
- D4
Correct answer: B