Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Command Line Arguments Questions
C (Turbo C) — predict the output when using the Turbo C globals _argc and _argv. Command used: cmd> sample Jan Feb Mar /* sample.c */ #include
#include
int main(int arc, char *arv[]) { int i; for (i = 1; i < _argc; i++) printf("%s ", _argv[i]); return 0; } What is printed?
1
2