Multiple Choice
Consider the following statements. struct circleData
{
Double radius;
Double area;
Double circumference;
};
CircleData circle;
Which of the following statements is valid in C++?
A) cin >> circle.radius;
Circle.area = 3.14 * radius * radius;
B) cin >> circle.radius;
Circle.area = 3.14 * circle.radius * radius;
C) cin >> circle;
D) cin >> circle.radius;
Correct Answer:

Verified
Correct Answer:
Verified
Q2: Consider the following statements: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB4784/.jpg" alt="Consider
Q3: Consider the following statements: struct rectangleData<br>{<br>Double length;<br>Double
Q5: Consider the following struct definition:<br>const int ARRAY_SIZE
Q6: Consider the following statements: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB4784/.jpg" alt="Consider
Q10: Which of the following is an allowable
Q12: If a variable is passed by _,
Q24: Data in a struct variable must be
Q25: An array name and index are separated
Q28: Aggregate input/output operations are allowed on a
Q30: A function can return a value of