Examveda

Which of the following syntax is correct for command-line arguments?

A. int main(int var, char *varg[])

B. int main(char *argv[], int argc)

C. int main(){int argv, char *argc[];}

D. none of the mentioned

Answer: Option A


This Question Belongs to C Program >> Pointer

Join The Discussion

Related Questions on Pointer