ExamVeda
Login
Home
Structures and Unions in C plus plus
?

What is the output of the following code: union Number { int x; float y; }; Number n; n.x = 10; cout << n.y; in C++?

Answer & Solution
Correct Answer: Option C
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.