1.

What is a structure? Give an example.

Answer»

A structure is a collection of variable which can be same or different types.

Example:

struct student

{

int regno;

char name[20];

char class[5];

char combination[4];

float fees;

} st1,st2,st3;



Discussion

No Comment Found

Related InterviewSolutions