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.
Take a step-up from those “Hello World” programs. Learn to implement data structures like Heap, Stacks, Linked List and many more! Check out our Data Structures in C
course to start learning today.