Can we use any name in place of argv and argc as command line arguments?



Can we use any name in place of argv and argc as command line arguments?..

Answer / Chhavi Sagar

No, argv (arguments vector) and argc (argument count) are reserved names for command-line arguments in C. These variables must be used exactly as specified.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

In C language, a variable name cannot contain?

1 Answers  


What is the difference between abs() and fabs() functions?

1 Answers  


Magic square

0 Answers  


Where are some collections of useful code fragments and examples?

1 Answers   Celstream,


How can we allocate array or structure bigger than 64kb?

2 Answers   CSC,


What is calloc malloc realloc in c?

1 Answers  


int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?

4 Answers   TCS,


explain what is fifo?

1 Answers  


int a=20; int b=30; int c=40; printf("%d%d%d"); what will be the output?

5 Answers   CMC,


Is null a keyword in c?

1 Answers  


What is the purpose of main( ) in c language?

1 Answers  


what are far pointers?

1 Answers  


Categories