What is the output of printf("%d")?

Answer Posted / hafizul

the value at the top of the stack will be printed.
if some value is assigned to some variable before dis stmnt
then that value will be printed, otherwise some garbage
value(that r at the top of the stack) will be printed.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are references in c++? What is a local reference?

779


Why is c++ still popular?

786


Define token in c++.

892


Evaluate !(1&&1||1&&0) a) Error b) False c) True

939


What is a list c++?

809


In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h

954


Should I learn c or c++ or c#?

750


What is the maximum combined length of command line arguments including the space between adjacent arguments?

771


What is the function to call to turn an ascii string into a long?

818


How a modifier is similar to mutator?

869


Explain the concept of friend function in c++?

820


What are built-in functions? What is the syntax for the definition?

793


What language does google use?

839


Write a recursive program to calculate factorial in c++.

812


What is the difference between passing by reference and passing a reference?

769