
A set of interview questions on structures in C.
- What is a structure?
- What are the differences between structures and unions?
- What are the advantages of using unions?
- How can you use typedef to define a type of structure?
- Write a C program that returns 3 numbers from a function using a structure.
- In below code snippet:
struct Date { int yr; int day; int month; } date1,date2; date1.yr = 2004; date1.day = 4; date1.month = 12;

