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...

A(n) ____________ contains operators, constants, and variables, and performs a calculation.

a. math expression b. algorithm c. data utility d. variable

Computer Science & Information Technology

If you have an overly confident user on the phone, what is a good practice?

A. compliment the user's knowledge, insight, and experience B. keep the conversation moving to place the user at a disadvantage C. point out the customer's mistakes to shake their confidence D. use technical jargon that matches or exceeds the customer's use of jargon

Computer Science & Information Technology

The argument for the TRIM function is a reference to the cell that contains the text that needs to have spaces removed

Indicate whether the statement is true or false

Computer Science & Information Technology

Explain what happens to the objects on a layer when the layer's Preview option is deactivated.

What will be an ideal response?

Computer Science & Information Technology