Consider the following statements:struct studentType1
{ string name; int ID; double gpa;
};studentType1 student1, student2;struct studentType2
{ string name; int ID; 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;
Answer: D
Computer Science & Information Technology
You might also like to view...
________ communication takes place in real time
Fill in the blank(s) with correct word
Computer Science & Information Technology
The compiler does not automatically allocate new memory space for any C-string pointed to by a pointer variable.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology