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

What is the output of printf("%d")?

Answer Posted / beloshe vinod

Output will depends on number of values(local variables)
pushed onto stack .Out of that top of stack will gets printed
e.g.
static int a=89;
int b=67;
printf("%d");

will result in :> 67

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What programming language should I learn first?

1039


What do you mean by function and operator overloading in c++?

996


Can we use this pointer in a class specific, operator-overloading function for new operator?

1053


What does new do in c++?

1027


Explain queue. How it can be implemented?

1107


How can you quickly find the number of elements stored in a static array?

1056


What is a linked list in c++?

1002


What is a string example?

1019


What is using namespace std in cpp?

1067


How do you decide which integer type to use?

951


Explain the difference between c++ and java.

1058


Is std :: string immutable?

992


How do I tokenize a string in c++?

1027


Explain the differences between private, public and protected and give examples.

960


Is atoi safe?

1012