+ 7

Structs

What is struct in c++?

31st Mar 2019, 3:14 PM
Nikoo
4 odpowiedzi
+ 1
It allows us to use different data types together. It is just a little different from array as they store same data type elements.
7th Apr 2019, 5:21 AM
Suhani Goyal
Suhani Goyal - avatar
+ 1
Composite data type with heterogeneous sub-type data types, different memory locations, but close together.
5th Apr 2019, 5:57 AM
Edison
Edison - avatar
0
Composite data type with heterogeneous sub-type data types, different memory locations, but close together.
4th Nov 2022, 6:41 AM
Farooq Mujawar
Farooq Mujawar - avatar