What is wrong with the following structure definition?
Struct MyStruct
{
Int size;
Float weight;
}
A) Nothing
B) Can not have mixed data types in a structure
C) missing semicolon
D) Braces are not needed.
Correct Answer:
Verified
Q17: The keyword _ defines a structure type
Q18: When a structure contains another structure variable
Q19: A class member function may be private.
Q20: Class data members are almost always public.
Q21: In the following class constructor definition, the
Q23: If you have a class with a
Q24: A member function of a class should
Q25: A class in which modifications to the
Q26: A member function that gets called automatically
Q27: In a structure definition, the identifiers declared
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents