Chapter 4

C++ Declarations


To write a C++program, it is necessary to know the syntaxes of the language. This enables a programmer to write error-free programs. If the programmer is not aware of the basic rules of the language, he/she may fail to write program, even though the logic is clear.

A few basic concepts of C++ language, such as syntaxes, data types, and keywords, are discussed in this chapter to help the programmer ...

Get Programming in C++, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.