C-Programming

Some important Questions from Structure

  1. What is structure? When do we use a structure? How the members of the structure can be accessed?
  2. Is there any difference between array and structure? Explain with examples.
  3. Give the significance of typedef statement? When we can use typedef statement in structure. Give the general syntax of this statement.
  4. What is nested structure? Write a general syntax as well as example of the nested structure.
  5. What is member variable? How we can access the member variable of nested structure.
  6. Can a structure be passed to a function? How?
  7. What are the differences between array of structure and arrays inside the structure?
  8. What is the syntax for accessing the member variable of the pointer variable structure? Also give a suitable example.

How to use pointer as an array in the structure? (Prev Lesson)
(Next Lesson) File handling
Back to C-Programming

No Comments

Post a Reply

Teacher
Bhim Gautam
Role : Lecturer
Read More
error: Content is protected !!