Computer Science, asked by poojamadam80, 3 months ago

8 Which of the following is a Valid Variable Name in C++?*
1.Name
2. My Name
3. 2 subject
4. %average​

Answers

Answered by zZ2
15

Answer:

1. Name

Explanation:

2. My Name

It's not valid because space is present

3. 2 subject

A variable name cannot start with a number and spaces are not allowed

4. %average

A variable name cannot start with a symbol

Similar questions