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 |
What's a good way to check for "close enough" floating-point equality?
main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }
find largest element in array w/o using sorting techniques.
Can a file other than a .h file be included with #include?
What is pass by reference in functions?
What is structure pointer in c?
What is I ++ in c programming?
write a program to print %d ?
prototype of sine function.
Why is c called a mid-level programming language?
Write a program to print distinct words in an input along with their count in input in decreasing order of their count
what are the various memory handling mechanisms in C ?