+3 votes
in Class 12 by kratos

How is a structure initialized? Give an example.

1 Answer

+4 votes
by kratos
 
Best answer

Initialization is done at the time of declaration of a variable.

For example

Student S2 = {100,17,”Aniket”,92};

...