Computer Science, asked by sayalidoshi315, 15 hours ago

What is the correct option to meet following requirement systematically: Marks, division and admission_year of 30 students?

(a) Structure alone
(b) Structure and array of structure objects
(c) Array alone
(d) Integer datatype alone​

Answers

Answered by Anonymous
3

A structure is a data type in C/C++ that allows a group of related variables to be treated as a single unit instead of separate entities. A structure may contain elements of different data types – int, char, float, double, etc. It may also contain an array as its member. Such an array is called an array within a structure. An array within a structure is a member of the structure and can be accessed just as we access other elements of the structure.

An array is a collection of data items of the same type. Each element of the array can be int, char, float, double, or even a structure. We have seen that a structure allows elements of different data types to be grouped together under a single name. This structure can then be thought of as a new data type in itself. So, an array can comprise elements of this new data type. An array of structures finds its applications in grouping the records together and provides for fast accessing.

l hope it will help u ☺️

Answered by nntmbajpai
2

wah sayu wahh...

mtlb jisse promise Kiya hai uspe hi vishwas nhi hai aapko...wahh..

vo frnd Jannat ne banaya tha mere name se kyunki vo id ab me handle karunga after some days..and g.f takki bhi baat karli...wah sayu wahh..

rprt it..

Attachments:
Similar questions