(a) Write down the difference between structure and union. Write a 'C…

Previous year question for Computer Programming.

Question

(a) Write down the difference between structure and union. Write a 'C' program to read following details of 50 students. Student Name, Student Roll No, Class Display total number of students studying in class "BE".

(b) Define calling a function. What is 'call by value' parameter passing in C program? How is it differing from 'call by reference'? Write a program segment to show these two types of parameter passing.

Related pages

More PYQs on Structures

Open on CachedInfo