Question: Q2: (10 Points) State whether the following variable names are legal C syntax. If they are not legal, state why. 1) 2cats 2) cats2 3)

Q2: (10 Points) State whether the following variable names are legal C syntax. If they are not legal, state why.

1) 2cats

2) cats2

3) dollars$

4) $_Inflation

5) float

6) my Grade

7) myGrade

8) my_Grade

9) ?Hello

10) _Hi

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!