Page 1 of 1

What will be the output of the following C code (if run with no options or arguments)?

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
#include <stdio.h> int main(int argc, char *argv[]) { printf("%d\n", argc); return 0; }
a) 0
b) 1
c) Depends on the platform
d) Depends on the compiler