Computer Science, asked by apoorva341, 4 months ago

Explain the structure of c++​

Answers

Answered by vijyantsingh05
1

Answer:

Explanation:

STRUCT is a C++ data structure that can be used to store together elements of different data types. In C++, a structure is a user-defined data type. The structure creates a data type for grouping items of different data types under a single data type.

For example:

Suppose you need to store information about someone, their name, citizenship, and age. You can create variables like name, citizenship, and age to store the data separately.

However, you may need to store information about many persons in the future. It means variables for different individuals will be created. For example, name1, citizenship1, age1 etc. To avoid this, it's better to create a struct.

Answered by ramchandanikajal0998
2

Answer:

hello

Explanation:

I'm also fine please give the answer of eqvilanet fractiona of 2/3

Similar questions