There are four types of loops:
-do while loop
-Apart from other loop this loop is special kind of functionality.
-This loop is not present in C language.
-For each loop are used to iterate the sequence or collection like vectors.
for_each (InputIterator first, InputIterator last, Function fn)