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 / 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

typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

1199


What is the use of #include in c?

1083


Explain b+ tree?

1067


Can true be a variable name in c?

1039


Explain how do you print an address?

1146


Is null valid for pointers to functions?

1170


What is bubble sort in c?

1050


What oops means?

1001


Write a code to generate divisors of an integer?

1066


What is the difference between variable declaration and variable definition in c?

1058


What is hungarian notation? Is it worthwhile?

1218


Explain the difference between getch() and getche() in c?

995


Do you know null pointer?

1026


If I have a char * variable pointing to the name of a function ..

1169


Is c a great language, or what?

1113