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

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

2474


How do you establish a has-a relationship?

1169


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

1179


Mention the storage classes in c++.

1128


What is increment operator in c++?

1058


Can non-public members of another instance of the class be retrieved by the method of the same class?

1122


State the difference between pre and post increment/decrement operations.

1148


Explain "const" reference arguments in function?

1108


What are disadvantages of pointers?

1093


What is isdigit c++?

1150


What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

1336


How the endl and setw manipulator works?

1054


Describe linked list using C++ with an example.

1123


What are the 2 main types of data structures?

1169


Do the parentheses after the type name make a difference with new?

1138