Vidyalelo
C++ Programming · Q780

C++ miscellaneous

Programming · C++ Programming · question 780

Q780

What happens if a pair is not initialized?

A.
Both first and second part is initialized to zero or null
Answer
B.
Both first and second part is initialized a garbage value
C.
First is initialized to zero or null and second is initialized a garbage value
D.
Second is initialized to zero or null and first is initialized a garbage value

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board