C Which of the following C code segments will produce a syn
C : Which of the following C code segments will produce a syntax error? Select all that apply. Please provide explanation for answer given.
Answers: typedef struct f float speed; int riders; coaster; coaster Cl; struct coaster float speed; int riders; coaster Revolution; struct float speed; int riders; ) MrFreeze; struct coaster int riders; float speed; coaster Batman; struct coaster Cl;Solution
Answer:
In the given C code segments the below segments gives the syntax errors:
1)struct coaster {
 float speed;
 int riders;
 };
 coaster Revolution;
2)struct coaster{
 int riders;
 float speed;
 coaster Batman;
 };
 3)struct coaster C1;

