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


Please Help Members By Posting Answers For Below Questions

Explain what is a static function?

631


What is the use of sizeof?

556


explain what is a newline escape sequence?

690


Give the rules for variable declaration?

678


What is the difference between int main and void main in c?

593






please send me the code for multiplying sparse matrix using c

1726


Explain what is the general form of a c program?

624


What is the difference between void main and main in c?

626


What is the difference between printf and scanf in c?

752


List some of the dynamic data structures in C?

790


Is c call by value?

607


What is main () in c language?

598


How can I avoid the abort, retry, fail messages?

663


What is the use of a semicolon (;) at the end of every program statement?

774


How can I dynamically allocate arrays?

594