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

Which is better c++ or java?

925


Write about the scope resolution operator?

978


What are dynamic type checking?

978


What are the basic data types used in c++?

994


What is the best c++ book for beginners?

1087


How delete [] is different from delete?

955


What are the uses of typedef in a program?

1025


What is polymorphism & list its types in c++?

1007


What is c++ flowchart?

1316


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

1003


What are advantages of using friend classes?

1010


Please explain class & object in c++?

1043


What is the size of integer variable?

1007


Define pre-condition and post-condition to a member function in c++?

1084


Why c++ is the best language?

1005