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

How do you master coding?

1029


how to access grid view row?

2228


What is a map in c++?

1194


What do you know about near, far and huge pointer?

1134


What are static variables?

1131


Why are pointers used?

1000


Differences between private, protected and public and give examples.

1048


Explain the differences between list x; & list x();.

1005


What is type of 'this' pointer?

1058


What are features of c++?

1166


the maximum length of a character constant can be a) 2 b) 1 c) 8

1091


What are exceptions c++?

1038


What are friend classes? What are advantages of using friend classes?

1101


How does a C++ structure differ from a C++ class?

1116


What is a syntax in c++?

1152