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
Explain what is a static function?
What is the use of sizeof?
explain what is a newline escape sequence?
Give the rules for variable declaration?
What is the difference between int main and void main in c?
please send me the code for multiplying sparse matrix using c
Explain what is the general form of a c program?
What is the difference between void main and main in c?
What is the difference between printf and scanf in c?
List some of the dynamic data structures in C?
Is c call by value?
What is main () in c language?
How can I avoid the abort, retry, fail messages?
What is the use of a semicolon (;) at the end of every program statement?
How can I dynamically allocate arrays?