Structure in C++ can store
-
only similar data type
-
any data type
-
only two data types
-
only 5 data types
B
Correct answer
Explanation
Structures in C++ can contain members of different data types (int, float, char, etc.) unlike arrays which require similar types. This makes structs versatile for grouping related data.