Hello students welcome to CSE Study247 Today I am provide you MCQ on Structure and Union in c.
This page provide 20 Multiple choice question with Answer that is very useful of Computer science students like preparation of many exam Like ( ISRO,DRDO ,Semester, Interview, TCS , Railway & another Government Sector)
❤️ TOP 500+ C Programming Question and Answer
C programming is the basic language of programming that help to learn another language. So this MCQ is very useful for you.

C is a general purpose ,high level language that originally developed by Dennis Ritchie to develop the UNIX operating system at Bell labs.
Q.1 Structure is a _____ data type.
- A) Predefine
- B) User Define
- C) Can't be said
- D) None
Q.2 Structure members are accessed using the _____ operator.
- A) dot
- B) assignment
- C) logical
- D) None
Q.3 Union is a?
- A) Primitive data type
- B) User define data type
- C) Both A & B
- D) None
Q.4 A C Structure or User defined data type is also called?
- A) Secondary data type
- B) Derived data type
- C) Both A & B
- D) None
Q.5 Find out the output: struct man { int c; } man1; man1.c=4; printf('Child=%d', man1.c);
- A) Child
- B) Child=0
- C) Child=4
- D) Compiler Error
Q.6 Which of the following allows to combine data items of different kinds?
- A) Array
- B) Function
- C) Structure
- D) None
Q.7 The restriction with union initialization is?
- A) The last member can be initialized
- B) The first member can be initialized
- C) Any member can be initialized
- D) None
Q.8 Which of the following operations is illegal in structures?
- A) Pointer to a variable of the same structure
- B) Typecasting of structure
- C) Dynamic allocation of memory for structure
- D) None
Q.9 Which of the following uses structure?
- A) Array of structure
- B) Linked list
- C) Binary tree
- D) All of these
Q.10 Number of bytes in memory taken by: struct test { int a; char b; };
- A) Multiple of word size
- B) integer size + character size
- C) can't be said
- D) None
Q.11 In a structure, the operator '.' is called as?
- A) period operator
- B) dot operator
- C) Both A & B
- D) None
Q.12 A structure is used when we wish to store _____ data.
- A) Dissimilar
- B) Similar
- C) Identical
- D) None
Q.13 Identify the correct statement regarding nested members?
- A) Union can be member of structure
- B) Structure can be member of union
- C) Both A & B
- D) None
Q.14 Which of the following cannot be a structure member?
- A) Array
- B) Function
- C) Structure
- D) None
”Q.15
Q.16 A structure is a?
- A) collection of elements that can be of same data type
- B) Elements of a structure are called members
- C) collection of elements that can be of different data type
- D) All of these
”Q.17
- A) ”&”
- B) ”*”
- C) ”::”
- D) ”->”
Q.18 Which operator connects the structure name to its member name?
- A) -
- B) .
- C) &
- D) *
Q.19 Which of the following are themselves a collection of different data types?
- A) String
- B) Structure
- C) Char
- D) int
”Q.20
| 1. Official Telegram | Click Here |
| 2. Telegram For CSE MCQs | Click Here |
| 3. You Tube | Click Here |