Sol1hw3b
State, giving reasons, which of the following are C++ variable names and which are not:
|
a23 |
|
a.2.4-------------------------- decimal points are not allowed |
|
2A.n ------------------------- a name must start with a character or an underscore ------------------------------- also, a decimal point is not allowed |
|
‘a’one ----------------------- ' ' is not allowed |
|
AONE |
|
Aone |
|
Pay Day-------------------- blank space is not allowed |
|
Pay_Day |
|
|
|
U.S.S.R. ------------------ decimal points are not allowed |
|
_X_1 |
|
A*2 ------------------------ * is not allowed |