what's the o/p
int main(int n, char *argv[])
{
char *s= *++argv;
puts(s);
exit(0);
}
Answer / sreed
first command line argument
lets say..
exe for above prog is a.out
execute command
a.out arg1 arg2 arg3
then out put will be arg1
| Is This Answer Correct ? | 1 Yes | 1 No |
Why is event driven programming or procedural programming, better within specific scenario?
What is a void pointer in c?
c program to input values in a table(using 2D array) and print odd numbers from them
What are the features of the c language?
Define C in your own Language.
What do you know about the use of bit field?
What is a wrapper function in c?
How to swap 3 numbers without using 4th variable?
How many data structures are there in c?
1.write a program to merge the arrays 2.write efficient code for extracting unique elements from a sorted list of array?
What is header file definition?
write a 'c' program to sum the number of integer values