Chapter 2
1 Type integral means any types of integers (like short, long, etc.), type char and type enum.
2 Exception exists.
3 Curly brackets are also called braces.
4 As a matter of style one may declare variables at the start of the block. Language does not put any restriction on location. You may declare variables midway, just before they are used for the first time.
5 In the popular older language called Pascal, if clause syntax contained keyword “then”. In our opinion, that syntax was more English like and therefore natural. However, designers of C language decided to drop it. Naturally it is not there in
.Get Object Oriented Programming with C++, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.