What is the output of printf("%d")?
Answer Posted / masquerade
for int and char specifier it prints garbage value
and for float it will give error
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the two types of comments, and how do they differ?
Explain linear search.
What does it mean to declare a member function as virtual?
What is binary search in c++?
What is ios in c++?
What is namespace std; and what is consists of?
What is encapsulation in C++? Give an example.
What is a template in c++?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
What is pair in c++?
Why do we use setw in c++?
What is enum class in c++?
Why do we need runtime polymorphism in c++?
Explain the uses of static class data?
What are the advantages of prototyping?