Are the variables argc and argv are always local to main?



Are the variables argc and argv are always local to main?..

Answer / Rajendra Kumar Sharma

"argc (argument count) and argv (argument vector) are automatically created and local variables in the main function. They hold information about command-line arguments passed to a C program."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What are enumerated types?

1 Answers  


Is there a way to compare two structure variables?

1 Answers  


how can i get the string which is having two spaces at the end.suppose the string is "Hello World ".Now at the end i have two spaces.i need to print with that spaces .

1 Answers  


What is a pointer value and address in c?

1 Answers  


Is flag a keyword in c?

1 Answers  


Which type of language is c?

1 Answers  


Explain how do you determine whether to use a stream function or a low-level function?

1 Answers  


Table of Sudoku n*n

0 Answers  


What is the difference between text and binary modes?

1 Answers  


write a program for 7*8 = 56 ? without using * multiply operator ? output = 56

6 Answers   Xavient,


Diff between for loop and while loop?

2 Answers   TCS,


write a programme to enter some number and find which number is maximum and which number is minimum from enterd numbers.

3 Answers  


Categories