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 / vaisakh.r

printf("%d") will printf some garbage value since there is no varible specified in it.so compiler check the argument stack check offset depending on the format specifier print whats on that location, since we can't sure about that value say it will print some garbage value

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run a program in notepad ++?

1061


What is the difference between a template and a macro?

1008


What is the use of "new" operator?

1085


What is iomanip c++?

1021


What are abstract data types in c++?

941


Can you use the function fprintf() to display the output on the screen?

1208


Describe protected access specifiers?

1163


If there are two catch statements, one for base and one for derived, which should come first?

996


Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c

1237


What is the use of lambda in c++?

975


an operation between an integer and real always yeilds a) integer result b) real result c) float result

1117


Explain unexpected() function?

1055


What is pair in c++?

1013


Describe linked list using C++ with an example.

1035


What would happen on forgetting [], while deallocating an array through new?

1042