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

Hey people

It will not give any syntax error more specifically.. it
will not give any type of error..

The output depends on the compiler u r using...
if it is GCC of linux then O/p== garbage value
there are compilers which will give the last integer value
assigned..
example...
i=30;
printf("%d");

will give ouput 30... but for Gcc it will be garbage value.

Is This Answer Correct ?    43 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by delegate? Can a user retain delegates?

936


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

1054


What are c++ variables?

1060


What is a template in c++?

1839


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

1022


What is virtual table?

1113


How can I learn dev c++ programming?

1043


Who made c++?

1078


What is a pointer how and when is it used?

1090


What are literals in C++?

1024


Which of the following is evaluated first: a) && b) || c) !

2364


What is the use of map in c++?

1145


What are the two types of comments, and how do they differ?

1128


Explain the difference between class and struct in c++?

1035


Do you know the use of vtable?

1130