Question: 1. A variable in C++ can only hold numeric values. a)True b)False 2.Which of the following are legal variable names. Mark all the ones that

1. A variable in C++ can only hold numeric values.

a)True

b)False

2.Which of the following are legal variable names. Mark all the ones that are legal.

a. resident?

b. 2ndStep

c. ToTalArEa3

d. Total_Volume

e. Full7425size99

f. _12345

g. Square feet

3. If char is a reserved word, then I cannot use it as a variable name.

a)True

b)False

4. A ___________ is a memory location that holds some kind of value.

a. reserved word

b. function

c. variable

d. semantic

5. C++ considers the variable names Kilometers and kilometers to be the same name.

a)True

b)False

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!