Computer Science, asked by kanakwagh202005, 4 months ago

List the rules to declare the variables C++​

Answers

Answered by panchalvikas10
0

Answer:

A variable name can consist of Capital letters A-Z, lowercase letters a-z, digits 0-9, and the underscore character.

The first character must be a letter or underscore.

Blank spaces cannot be used in variable names.

Special characters like #, $ are not allowed.

C++ keywords cannot be used as variable names.

Variable names are case-sensitive.

A variable name can be consisting of 31 characters only if we declare a variable more than one characters compiler will ignore after 31 characters.

Variable type can be bool, char, int, float, double, void or wchar_t.

Explanation:

Answered by sartaj523
1

Answer:

gdnaus so amaAkabaianavJajabz

Similar questions