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 the use of fflush() function?
Explain what does a function declared as pascal do differently?
When should the register modifier be used? Does it really help?
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
Is c dynamically typed?
Explain what is #line used for?
How will you find a duplicate number in a array without negating the nos ?
Differentiate between new and malloc(), delete and free() ?
Explain what is a const pointer?
Explain the binary height balanced tree?
Can you please compare array with pointer?
Why structure is used in c?
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
How to Throw some light on the splay trees?
Explain enumerated types.