exit is a function defined in cstdlib (stdlib.h) library. The purpose of exit is to terminate the...
Category - C++
C++ goto Statement
goto It allows making an absolute jump to another point in the program. You should use this feature...
C++ continue Statement
continue The continue instruction causes the program to skip the rest of the loop in the present...
C++ break Statement
break Using break we can leave a loop even if the condition for its end is not fulfilled. It can be...
C++ for loop
Its format is: C++ for (initialization; condition; increase) statement; 123 for...
C++ do-while loop
Format: C++ do statement while (condition); 123 do statement while (condition); Its...
C++ if else statement
It is used to execute an instruction or block of instructions only if a condition is fulfilled. Its...
Control Structures in C++
A program is usually not limited to a linear sequence of instructions. During its process it may...
Console Input / Output in C++
The console is the basic interface of computers, normally it is the set composed of the keyboard...
Operators in C++
Once we know of the existence of variables and constants we can begin to operate with them. For...