Explain command-line arguments in C.
Answer / nashiinformaticssolutions
Command-line arguments are passed to the main() function as argc (argument count) and argv (argument vector).
| Is This Answer Correct ? | 0 Yes | 0 No |
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
write a c program to find the roots of a quadratic equation ax2 + bx + c = 0
11 Answers CSC, St Marys, TATA,
consider the following C code main() { int i=3,x; while(i>0) { x=func(i); i--; } int func(int n) { static sum=0; sum=sum+n; return(sum); } the final value of x is
What is function definition in c?
What is the default value of local and global variables in c?
How is null defined in c?
What are the types of data structures in c?
How would you sort a linked list?
what is the output of the following code? main() { int I; I=0x10+010+10; printf("x=%x",I); } give detailed reason
Was 2000 a leap year?
What functions are used for dynamic memory allocation in c language?
Explain modulus operator.