C++ Elements

Default Image

s every language in the world has its own
syntax writing style with some characters same as every computer
language also have set of characters. With the help of these characters
we write source code. These characters/alphabets of c++ are following:

*        Lower case letters: a,b,c,…..,y,z


*        Upper case letters: A,B,C,…..,Y,Z


*        Digits: 0,1,2,….,9


*        Special Characters: +,-,*,/,%,=,(,),{,},[,],<,>,?,:,;,’,”,\,|,!,@,#,$,^,&


*        Blank space: blanks, new line, tab etc.



Keywords


        The words that are already
reserved for special purpose are called keywords. Purpose and meaning of
these keywords are defined by the developers of programming language.
Every keyword in C++ exist in lower case. You can’t use keyword as
identifier in your C++ programs, its reserved words in C++ library and
used to perform an internal operation. There are 63 keywords given
below:





















































































ams auto bool break case catch char class
const const_cast continue default delete do double dynamic_cast
else enum explicit export extern float for friend
goto if inline int long mutable namespace new
operator private protected public register reinterpert_cast return short
signed sizeof static static_cast struct switch templete this
throw try typed typeid typename union unsigned using
virtual void volatile wchar while false true

*main is not a keyword. It is a special identifier that identifies the beginning of C++ programme.

Read Count: 3 times

Comments

No comments yet.

Leave a Comment