Posts

Showing posts with the label Keywords

Tokens In C++

Image
  Tokens in C++ In C++, the smallest individual unit in a program are known as tokens, C++ has the following tokens: Keywords Identifiers Constants Strings Operators A C++ program is made using this tokens, white space (space, tabs, and newline) and the syntax of the language. Almost all the C++ tokens are same as in the C language with the exception of some addition and minor modification. Keywords Keywords are certain reserved words or identifiers, which cannot be used as a variable name, and other user defines program elements. The bellow is the list of C++ Keywords. There are total 63 Keywords in C++ many of the Keywords are common in both C and C++, and some are added to increase the functionality and features. Identifiers Identifiers refers to the names of the variables, functions, array, classes, objects, etc. that a programmer creates, which are the fundamental requirement of any programming language. Each has its own rules for naming these identifiers, the following are th...