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

%d prints integer value but we have to provide corresponding variable with it i.e..
printf("%d" n) here it prints value of n which is of integer type
printf("%d") will create a garbage value b'coz copiler is unknown of associated variable.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is private, public and protected inheritance?

1048


What is ios flag in c++?

1141


What do you mean by funtion prototype?

1009


Explain what is polymorphism in c++?

1089


What is java and c++?

1124


Who was the creator of c++?

1005


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

1012


What is the insertion operator and what does it do?

997


Explain virtual destructor?

1128


Is linux written in c or c++?

999


What is istream and ostream in c++?

1068


Is java a c++?

997


What do you mean by inheritance in c++? Explain its types.

1073


What is a singleton c++?

951


What's c++ used for?

1064