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 are c++ stream classes?

1095


What is vectorial capacity?

1230


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

1064


What is c++ namespace?

1258


What is the difference between struct and class?

1652


What is a far pointer? where we use it?

1130


Do inline functions improve performance?

1131


What does override mean in c++?

1118


When one must use recursion function? Mention what happens when recursion functions are declared inline?

1236


Explain about vectors in c ++?

1081


What are dynamic type checking?

1095


Write a program to add three numbers in C++ utilizing classes.

1183


Write a program which uses Command Line Arguments

1233


what is data encapsulation in C++?

1125


If you don’t declare a return value, what type of return value is assumed?

1006