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

What number follows 55 in the series below?1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ____

A. 63 B. 68 C. 76 D. 89

Computer Science & Information Technology

Suppose we have created a class called MyGUI, which represents a GUI. Write a program that creates a JFrame object, adds a MyGUI object to the frame and makes it visible.

What will be an ideal response?

Computer Science & Information Technology

The ________ graphic type used in a SmartArt graphic shows how parts relate to the whole

A) relationship B) list C) process D) matrix

Computer Science & Information Technology

All of the following are concerns about surface websites except ______ .

A. they are readily available B. they are not permanent sources of information  C. they have not been peer reviewed D. they have not been evaluated

Computer Science & Information Technology