Which of the following struct definitions is correct in C++?
A. struct studentType
{
int ID;
};
B. struct studentType
{
string name;
int ID;
double gpa;}
C. int struct studentType
{
ID;
}
D. struct studentType
{
int ID = 1;
};
Answer: A
You might also like to view...
Which of the following is a component of the user role that specifies which actions are permitted, such as creating, starting, or shutting down a virtual machine?
A. membership B. profile C. template D. scope
A(n) ________ microphone picks up sounds coming from all directions at once and is well suited for conference calls
Fill in the blank(s) with correct word
When you create a custom category and group in the Navigation Pane, the database objects first display under Unassigned Objects
Indicate whether the statement is true or false
If a formula contains a reference to the cell containing a formula, a(n) ________ reference exists
Fill in the blank(s) with correct word