 # C++ Programming Code Examples

## C++ > Pointers Code Examples

### Traversing the array using Pointers

Convert Decimal to Octal Number System - C Program Code input decimal number and convert to octal number system. Decimal number system is a base 10 number system. Decimal number system uses 10 symbols to

Find Whether a given year is Leap Year or - Takes a year as input and finds whether a year is leap year or not. Take a year as input. Check whether a given year is divisible by 400. Check whether a given year is divisible

C Calculate the total Revenue and Output - C Programming Choosing the correct type: long. Calculate quarterly total. Output monthly sales and total for the quarter. Calculate the total revenue and output it.

C Convert Binary to Octal Number System - Program input binary number and convert to octal number system. To make things simple and sound, I have divided the logic in 2 easy steps. Group all binary bits to 3 digits starting

Sample Sort Strings in Alphabetical Order - To sort strings in alphabetical order, you have to ask to the user to enter the two string, now start comparing the strings, and if found then make a t variable of same type, and place the

C Multiply two Matrices by Passing Matrix - C program asks the user to enter the size of the matrix (rows and column). It asks the user to enter the elements of those matrices and finally adds and displays the result. Perform

C Code Find LCM of Number by Recursion - C Language program Find 'LCM' of a Number using Recursion. The following C Program to use recursion, finds the 'LCM'. An 'LCM' is the 'Lowest Common Multiple' of any 2 numbers.

C code All types of Linked List Operations - This is a Program About Linked List. Supply no. of elements in the linked list. Node you want to add before. Node you want to add end. Before which node you want to add?...