C | Structure & Union | Question 1
no_of_pages = 200;
(A) 200 GeeksQuiz
(C) Runtime Error
(D) Compiler Error
Explanation: When we declare a structure or union, we actually declare a new data type suitable for our purpose. So we cannot initialize values as it is not a variable declaration but a data type declaration.
Attention reader! Don’t stop learning now. Get hold of all the important C++ Foundation and STL concepts with the C++ Foundation and STL courses at a student-friendly price and become industry ready.