C++ is one of the most versatile languages in the world. It is used nearly everywhere for everything… systems programming (operating systems, device drivers, database engines, embedded, Internet of Things, etc.)

Enter Header Image Headline Here

Friday 14 April 2017

c++ Variable Naming

                                  C++ Variable Naming


What is Identifier?

Any used defined name given to the program element is called as identifier. (i.e. Program elements are identified by program with the identifier name)

Some Facts About Identiifier :

  • It is name given to program element.
  • Identifier are the names is given by the programmer.
  • An identifier is used for any variable, function, data definition etc.
  • We can give any valid name to the identifier.

Sample Examples of C++ Identifiers : 

In the C++ programming language, an identifier is a combination of alphanumeric characters, the first being a letter of the alphabet or an underline, and the remaining being any letter of the alphabet, any numaric digit, or the underline.

Valid Examples are :




Invalid Examples are :






0 comments:

Post a Comment

Popular Posts

Recent Posts

Categories

Unordered List

Text Widget