Define structure with its syntax. Create the structure “Employee” which has name, address, and salary as members. Write a program to read the name, address, and salary of 5 employees and display the details of employees who earns more than 50,000 using the concept of an array of structures.
Structures
ENCT 101 · Chapter 8
Your campus trial expires in
Click to unlock Premium0%
— out of — readSign in to save progress
Course Resources
- Chapters
- 10
- Questions
- 5
Past questions by syllabus
Structures
Array of Structure
1 question- 2081 ChaitraChapter 8: Structures8.4 Array of Structure
Structure as a Member to Structure
1 question- 2082 KartikChapter 8: Structures8.7 Structure as a Member to Structure
What is nested structure? Explain with example.
Passing and Returning Structures to/from Function
3 questions- 2082 ChaitraChapter 8: Structures8.8 Passing and Returning Structures to/from Function
Define a structure Student with NAME, CRN, and TOTAL_MARKS as its members. Write a program to input the details of 48 students from the user inside main() function. Pass these details to a user defined function to find out the topper student. Display the details of the topper student from the main() function.
- 2081 BaishakhChapter 8: Structures8.8 Passing and Returning Structures to/from FunctionClick to unlock premiumSee the full question with a premium plan
- 2081 KartikChapter 8: Structures8.8 Passing and Returning Structures to/from FunctionClick to unlock premiumSee the full question with a premium plan