Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

2065


Mention four important string handling functions in c languages .

1160


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

2234


What is the deal on sprintf_s return value?

1189


What is the difference between call by value and call by reference in c?

1215


What is the purpose of void in c?

1110


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1962


Why & is used in c?

1248


What is the role of this pointer?

1130


How do I use strcmp?

1138


What is difference between structure and union with example?

1123


Explain how to reverse singly link list.

1205


What is C language ?

2020


How can I run c program?

1234


Explain spaghetti programming?

1321