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

the value at the top of the stack will be printed.
if some value is assigned to some variable before dis stmnt
then that value will be printed, otherwise some garbage
value(that r at the top of the stack) will be printed.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between overloading & overriding? give example.

1266


Define the process of error-handling in case of constructor failure?

1056


When is the copy constructor called?

1202


What are the various arithmetic operators in c++?

1178


What do you mean by public protected and private in c++?

1112


If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?

1259


Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

1115


Explain what data encapsulation is in c++?

1155


Why struct is used in c++?

1172


What is a binary file? List the merits and demerits of the binary file usagein C++.

1369


Write a program to find the Fibonacci series recursively.

1112


What is the use of main function in c++?

1018


Difference between a copy constructor and an assignment operator.

1047


What is the purpose of ios::basefield in the following statement?

1303


What is :: operator in c++?

1103