+2 votes
in Class 12 by kratos

What is a structure? Write the syntax for structure definition.

1 Answer

+2 votes
by kratos
 
Best answer

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

Syntax for structure definition:

struct <structure-tag>

{

}<structure-variable-name 1>,<structure-variable-name 2>;

...