What are your opinions on naming convention of variables declared in programming? Write down five best practices that you think one should follow while declaring variables.
Answers
Answered by
10
Answer:
1.All variable names must begin with a letter of the alphabet or an. underscore( _ ). ...
2.After the first initial letter, variable names can also contain letters and numbers. ...
3.Uppercase characters are distinct from lowercase characters. ...
4.You cannot use a C++ keyword (reserved word) as a variable name.
5.Create variable names by deleting spaces that separate the words.
Explanation:
Similar questions