Author - Mike

C++

C++ continue Statement

continue The continue instruction causes the program to skip the rest of the loop in the present...

C++

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++

C++ for loop

Its format is: C++ for (initialization; condition; increase) statement; 123  for...

C++

C++ do-while loop

Format: C++ do statement while (condition); 123  do statement while (condition);  Its...

General

C++ while loop

Its format is: C++ while (expression) statement 123  while (expression) statement   ...

C++

C++ if else statement

It is used to execute an instruction or block of instructions only if a condition is fulfilled. Its...