int a=1,b=2,c=3;
printf("%d,%d",a,b,c);
What is the output?
Answer Posted / amaresh chandra das
Ans:1,2
because arguments of functions stored in stack in FIFO order
So Var a enters 1st so it will out (popped)1st too as it's
STACK's property.
| Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
Why is c not oop?
What does %c mean in c?
What are the different data types in C?
How can I remove the leading spaces from a string?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
How can I dynamically allocate arrays?
what is the basis for selection of arrays or pointers as data structure in a program
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
Can the curly brackets { } be used to enclose a single line of code?
please send me the code for multiplying sparse matrix using c
When is the “void” keyword used in a function?
What are the two types of structure?
What are types of preprocessor in c?
Is c still relevant?
What is difference between structure and union?