C Language Interview Questions and Answers for Experienced - 4
Question: 16
Is it possible to nest the functions?
Yes. The functions can be nested.
Question: 17
What is a structure?
Structure is a group name in which dissimilar datas are grouped together.
Question: 18
What are structures in C?
Structures types are primarily used to store records. A record is made up of related fields. This makes it easier to organize a group of related data.
Question: 19
What is void pointer in C?
Void pointer is a generic pointer that can be used to point another variable of any data type.
Void pointer can store the address of a variable belonging to any of the data type.
So, void pointer us also called as general purpose pointer.
Question: 20
What is the difference between structure and union?
Union allocates the memory equal to the maximum memory required by the member of the union but structure allocates the memory equal to the total memory required by the members.
In union, one block is used by all the member of the union but in case of structure, each member has their own memory space.
Union is best in the environment where memory is less as it shares the memory allocated. But structure cannot implement in shared memory.
As memory is shared, ambiguity is more in union, but less in structure.
Self referential union cannot be implemented in any data structure, but self referential structure can be implemented.
- Top 500+ C Language Interview Questions and Answers Pdf
- C Language Interview Questions and Answers
- C Language Interview Questions and Answers for Freshers
- C Language Interview Questions and Answers for Experienced
- C Programming Interview Questions and Answers
- Embedded C Interview Questions and Answers Pdf
- Top 200+ Advanced C Language Interview Questions 2020-2021
- C Programming Question Bank with Answers Pdf
- C Programming Interview Questions and Answers for Freshers
- C Programming Interview Questions and Answers for Experienced
- C Programming Basics Questions and Answers Pdf
- 1000+ Advanced C Programming Interview Questions & Answers
- 1000+ C Interview Questions and Answers 2023 - 2024 Pdf
- 1000+ C Programming Coding Questions and Answers
- 1000+ C Basic Interview Questions for Freshers Pdf
- 1000+ C Questions and Answers Pdf
Nuclear Physics Questions for Class 10 with Answers Pdf More
Samacheer Kalvi Class 10 Science Nuclear Physics Questions More
Class 10 Science Acoustics Exam Questions & Answers Pdf More
Samacheer Kalvi Class 10 Science Acoustics Questions & Answers More
Agricultural Engineering Multiple Choice Questions and Answers Pdf More
Top 100+ Alligation or Mixture Aptitude Questions and Answers More
Microsoft Excel, Spreadsheet Interview Questions and Answers More
List of Important Organization Abbreviations GK Quiz Questions & Answers More
GATE Computer Science Engineering Questions & Answers 2024 - 2025 Pdf More
1000+ English Entrance Exam Questions and Answers Pdf More