Q.No.1

How do you declare a structure 'point' with members 'x' and 'y' inside a header file 'point.h' in C?

Q.No.2

Which of the following statements about unions in C is true?

Q.No.3

What is the correct way to declare a union 'data' with members 'value' (int) and 'name' (string) in C?

Q.No.4

How do you access a member 'age' of a structure variable 'person' in C?

Q.No.5

How do you access a member 'city' of a structure variable 'address' that is inside another structure 'person' in C?

Q.No.6

What is the keyword used to define a union variable in C?

Q.No.7

In C, what is used to declare a union?

Q.No.8

What is a nested structure in C?

Q.No.9

How do you pass a structure to a function in C for modification?

Q.No.10

What is the correct syntax for accessing the 'salary' member of a structure variable 'employee' of type 'Employee' in C?


About Simple Quiz

We're here to make learning fun and accessible. Whether you're a student, teacher, or just someone who loves quizzes, you can find something for you here. Test your knowledge across a wide range of subjects and see how much you know!


Get to know more


Start A Quiz

Do you want to start quiz mode? In this mode, you’ll answer against a timer. When the timer runs out, answers auto-submit, and you get feedback.

Start A Quiz

Do you want to start quiz mode? You'll answer against a timer. When the timer runs out, answers auto-submit