C Programming :: Structures, Unions, Enums - Discussion
Home > C Programming > Structures, Unions, Enums > MCQs Questions Discussion
28 / 43
Choose the correct option.
Consider the following definitions
struct circle {
float radius;
struct point centre;
} circle cl;
struct point {
int x;
int y;
}
One can define a circle by the following assignment statement
Acircle cl.radius = 10; circle cl.centre.x = 0; circlet cl.centre.y = 0;
Bcircle.radius = 10, circle cl.x = circle cl.y = 0;
Ccircle cl. circle.radius = 10; circle cl. circle. centre. point. x = circle cl.circle.centre.point.y = 0
Dradius = 10; x = 0; y = 0;
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!