May 2012
Intermediate to advanced
679 pages
16h 56m
English
A program in any language basically consists of statements. Statements symbolize instructions. They are categorized as follows:
An expression (terminated with semicolon) is a statement in C as well as C++. It is termed as expression statement. Normally it will not have any action associated with it. However, expression statements like
mark++; or x=y+3;
will have an action associated with it. It may be noted that there are empty statements too! If nothing appears between two semicolons, it contains an empty statement. An inadvertent semicolon many times creates bugs in iterative statements.
Consider following code: ...
Read now
Unlock full access