This example shows you how can you manipulate the vector<>.
The program is a simple if-else example. It asks the user for input of a number and checks if the entered number is even or odd. The if statement first checks if the number is even.
This program asks user for input of an alphabet. Then, it checks if it is an uppercase letter. If yes, it displays appropriate message, converts it into lowercase and displays.
This program shows the scope of variables. In main(), count1 and count3 are two integer variables. Inside main(), there is a block in which another set of int variables count1 and count2 are made.
This example shows the working of some of the bitwise operators in C++. Bitwise operators are used to perform bit-level operations.
Function overloading or method overloading is a feature found in various programming languages that allows creating several methods with the same name which differ from each other in the type function