Wednesday, 3 May 2017

Concepts in C++.

Tokens:

As we know the smallest individual units in a program are called tokens.
C++has following tokens:

1.Keywords
2.Identifiers
3.Constants
4.Strings
5.Operators

A  C++ program is written using these tokens ,white spaces and the syntax of the language.Most of C++ tokens are basically similar to C tokens with the exception of some additions and minor modifications .


No comments:

Post a Comment

Program to display ASCII value of any character.

Program #include<studio.h> #include<condo.h> void main( ) { char ch; clrscr(); printf("\n enter any character...