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 is prototype in c++ with example?

1052


What are the types of container classes?

1085


What are stacks?

1009


What is a tree in c++?

916


What is the use of setfill in c++?

1032


How delete [] is different from delete?

956


Who made c++?

1015


Why do we need function?

1001


Is it possible to get the source code back from binary file?

1288


How to declare a pointer to an array of integers?

1073


How to declare a function pointer?

952


write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

2294


What is the difference between multiple and multilevel inheritance in c++?

1084


What can I safely assume about the initial values of variables which are not explicitly initialized?

999


What is a dll entry point?

947