Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes

C++ Programming Code Examples

C++ > If Else and Switch Case Code Examples

if-else-if statement is used when we need to check multiple conditions.

C Code Print ASCII values of all Characters - Program print ASCII values of all characters. ASCII stands for American Standard Code for Information Interchange. It is a set of integer values that represents different printable and

C Program to Count Words, Digits, Vowels - Program code count number of words, digits, vowels using pointers. Program code Finding number of words, blank spaces, digits, special symbols, vowels using pointers. Counting the

Check Even or Odd number by switch case - Input number from user and check whether the number is even or odd using switch case. A number is said even number if it is exactly divisible by 2. In C we use Modulo operator...

C Coding to find Sum of Two Matrices 3x3 - C program to read elements in two matrices and add elements of both matrices. C code for addition of two matrix. Matrix addition program in C. Logic to add two matrix in C.

Check Even or Odd using Bitwise Operator - C Language program code sample input any number and check whether the given number is even or odd using bitwise operator. How to check whether a number is even or odd using

C++ Language Do While Loop Statements - The statement is executed, then expression is evaluated. If it is true, statement is evaluated again, and so on. When 'expression' becomes false, the 'loop terminates'. Experience shows

C Codes Displays Largest Element of Array - This C Program takes n number of elements from user and stores it in array arr[]. To find the largest element, the first two elements of array are checked and largest of these two...

User-Defined Functions in C++ Language - We have already seen user-defined function, the example we have given at the beginning of this tutorial is an example of user-defined function. The functions that we declare and