You are on page 1of 6

C -LANGUAGE

STRUCTURE & UNION

© Nex-G Exuberant Solutions Pvt. Ltd.


STRUCTURE

1.Enter name,age,salary of three employees of


any organization initialization and taking user
method in the structure.
2.Enter name,age,salary of 100 employees of any
organization taking user method in the structure.
3.Enter name,age,salary of one employee of any
organization and make a nested structure named
servant with fields age and salay taking user
method in the structure. Also find the size of all
structures

© Nex-G Exuberant Solutions Pvt. Ltd.


STRUCTURE

4.Find the size of structure with field char and int


data type.
5.Enter name,age,salary of three employees of
any organization initialization and taking user
method in the structure using with function.
6.WAP to show the structure pass in the function
as an arguments

© Nex-G Exuberant Solutions Pvt. Ltd.


CONTINUE…

7.WAP to understand how structure members


are sent to a function.
8.WAP to show passing structure variables as a
arguments.
9.WAP to understand how a structure variables
is returned from a function.
10.WAP to show passing array of structures as
argument.
11.WAP to find out and print the grade of
student using structures.

© Nex-G Exuberant Solutions Pvt. Ltd.


UNION

1.Enter name,age,id of three student of any


college initialization and taking user method in
the union.
2.Enter name,age,marks of 100 students of any
college taking user method in the union.
3.Find the size of union with field char and int
data type.

NOTE—Time to complete is--6 hours.

© Nex-G Exuberant Solutions Pvt. Ltd.

You might also like