How do you access command-line arguments?



How do you access command-line arguments?..

Answer / thunder

Using argument vector and argument count with main.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More C Interview Questions

How can a number be converted to a string?

1 Answers  


Explain goto?

0 Answers  


What is dangling pointer in c?

0 Answers  


can any one tell that i have a variable which is declared as static but i want this variable to be visible to the other files? how?

2 Answers  


Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.

8 Answers  


What are pointers? Why are they used?

0 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,


How do you write a program which produces its own source code as its output?

2 Answers  


How can I recover the file name given an open stream?

0 Answers  


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

0 Answers  


What is structure data type in c?

0 Answers  


Is c high or low level?

0 Answers  


Categories