Sunteți pe pagina 1din 13

Review

[A] Which of the following are invalid variable names and why?

BASICSALARY
_basic
basic-hra
#MEAN
group.
422
population in 2006
over time
mindovermatter
FLOAT
hELLO
queue.
team’svictory
Plot # 3
2015_DDay
[B] Point out the errors, if any, in the following C
statements:
[B] Point out the errors, if any, in the following C
statements:
[F] What would be the output of the following
programs:
[F] What would be the output of the following
programs:
(4) Both fractional and exponential forms
In C a variable cannot contain
(1) Blank spaces
(2) Hyphen
(3) Decimal
4) All the above

S-ar putea să vă placă și