Consider the following statements:struct personalInfo{ string name; int age; double height; double weight;};struct commonInfo{ string name; int age;};
personalInfo person1, person2;commonInfo person3, person4;Which of the following statements is valid in C++?
A. person1 = person3;
B. person2 = person1;
C. person2 = person3;
D. person2 = person4;
Answer: B
Computer Science & Information Technology
You might also like to view...
When a user sends a friend a file using an instant messaging program or sends a file to another user on a file sharing network, they are performing a(n) ________
Fill in the blank(s) with correct word
Computer Science & Information Technology
The ________ function evaluates two or more conditions and displays TRUE if any one of the conditions is true
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology