Solved

Consider the Following Statements: Struct StudentType1
\quad String Name; \quad Int ID;

Question 16

Multiple Choice

Consider the following statements: struct studentType1
{
\quad string name;
\quad int ID;
\quad double gpa;
};
studentType1 student1,student2;
struct studentType2
{
\quad string name;
\quad int ID;
\quad double gpa;
};
studentType2 student3,student4;
Which of the following statements is valid in C++?


A) student2 = student3;
B) student1 = student4;
C) student2.ID = ID;
D) student1.ID = student3.ID;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions