int a=1,b=2,c=3;
printf("%d,%d",a,b,c);
What is the output?
Answer Posted / jaya prakash
1,2
because arguments of functions stored in stock
in stock stored as
"%d,%d"
a
b
c
in printf fn,
args popped out from stack
first "%d,%d" is popped
it find two int involved by %d in the control string
so two more args popped out
a,b
after popping the addr's then the values in that location
printed.(1,2)
| Is This Answer Correct ? | 28 Yes | 3 No |
Post New Answer View All Answers
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
Mention four important string handling functions in c languages .
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is the deal on sprintf_s return value?
What is the difference between call by value and call by reference in c?
What is the purpose of void in c?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
Why & is used in c?
What is the role of this pointer?
How do I use strcmp?
What is difference between structure and union with example?
Explain how to reverse singly link list.
What is C language ?
How can I run c program?
Explain spaghetti programming?