ON TO Questions First year students of an institute are informed to report anytime between 25.4.22 and 29.4.22. Create a

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

ON TO Questions First year students of an institute are informed to report anytime between 25.4.22 and 29.4.22. Create a

Post by answerhappygod »

On To Questions First Year Students Of An Institute Are Informed To Report Anytime Between 25 4 22 And 29 4 22 Create A 1
On To Questions First Year Students Of An Institute Are Informed To Report Anytime Between 25 4 22 And 29 4 22 Create A 1 (54.52 KiB) Viewed 102 times
Write a code in C language
ON TO Questions First year students of an institute are informed to report anytime between 25.4.22 and 29.4.22. Create a C program to allocate block and room number. Consider Five blocks with 1000 rooms/block. Room allocation starts from Block A on first-come, first-served basis. Once it is full, then subsequent blocks will be allocated. Define a structure with appropriate attributes and create functions i. to read student's detail, ii. allocate block and room, iii. print function to display student's regno, block name and room number. In main method, create at least two structure variables and use those defined functions. Provide sample input and expected output. i. Describe various types of constructors and it's use with suitable code snippet [5 marks). ii. Explain about friend function and friend class with appropriate sample program of your choice 5 marks]. 10 3 n. 11
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply