BCA Semester 2 – C programming – Unit 10: Structure (5Hrs)
Comprehensive questions and detailed answers for Unit 10: Structure (5Hrs). Perfect for exam preparation and concept clarity.
Define structure and union. Write a C program using structure that reads the record of 35 students with member's roll, name, address and makes and display the records of students who have obtained greater than 250 marks.
Differentiate between structure and Union. Locate a structure named student with members roll no, name, address. Write a program that displays name of only those students whose addressing is Kathmandu
What is union? Write a C program to enter bid, title, price, pages of 100 book into structure variable called book and sort them in descending order on the basis of their title with use of pointer.
What is structure? Write a C program to enter id, name and address of 25 structure variable called employee and sort them in ascending order on the basis with use of pointer.