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

what do u mean by Direct access files? then can u explain about Direct Access Files?

0 Answers   LG Soft,


main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); } what is the output?

10 Answers   Ramco,


what is difference between array,strutter,union and pointers

3 Answers   CTS, Lovely Professional University, Mannar Company,


Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 Answers   Accenture,


What is the meaning of c in c language?

0 Answers  


two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one executes fast.

5 Answers   Verifone,


Write a program to generate the Fibinocci Series

0 Answers   TISL,


What are the types of i/o functions?

0 Answers  


write an algorithm and a program to count the number of elements in a circularly singly linked list

1 Answers   Ignou,


What is the difference between char array and char pointer?

0 Answers  


Where static variables are stored in c?

0 Answers  


What are the uses of null pointers?

0 Answers  


Categories