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 the use of fflush() function?

624


Explain what does a function declared as pascal do differently?

634


When should the register modifier be used? Does it really help?

607


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

1587


Is c dynamically typed?

665






Explain what is #line used for?

603


How will you find a duplicate number in a array without negating the nos ?

1639


Differentiate between new and malloc(), delete and free() ?

668


Explain what is a const pointer?

636


Explain the binary height balanced tree?

720


Can you please compare array with pointer?

613


Why structure is used in c?

585


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

585


How to Throw some light on the splay trees?

617


Explain enumerated types.

596