New course! Every coder should learn Generative AI!
Try a free lesson+ 7
Structs
What is struct in c++?
3 Answers
+ 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.
+ 1
Composite data type with heterogeneous sub-type data types, different memory locations, but close together.
0
Composite data type with heterogeneous sub-type data types, different memory locations, but close together.