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

Answer Posted / sudha

it will simply print a 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

Is atoi safe?

603


What is data types c++?

546


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

608


Do the names of parameters have to agree in the prototype, definition, and call to the function?

602


Should the member functions which are made public in the base class be hidden?

564






What are function prototypes?

650


How can we access protected and private members of a class?

590


What are c++ manipulators?

612


Difference between strdup and strcpy?

650


Explain the term memory alignment?

687


How does a copy constructor differs from an overloaded assignment operator?

558


How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

1841


What is the difference between structure and class?

562


Differentiate between declaration and definition.

587


When can I use a forward declaration?

626