Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In the C Programming lanuae, which are valid statements? If invalid, explain why

ID: 3746076 • Letter: I

Question

In the C Programming lanuae, which are valid statements? If invalid, explain why. Note: The statements are independent of one another. int a, b; int 3-2 float while; int old5 FuNe LOLO int isThisCorrect?0

Explanation / Answer

int a, b; -> This is valid int 3 = 2; -> This is invalid. here 3 is not a proper valid variable name. float while; -> This is invalid. while is a keyword in c. we can not use it as a variable name. int odd5_FuNc_L0L(); -> This is valid. int isThisCorrect?(); -> This is invalid. we can not have ? in the function name.