# C++ Programming Code Examples

## C++ > Conversions Code Examples

### C++ program to Convert Decimal to Hexadecimal

```
```

```
```

Code Generates All Possible Combinations - Algorithm print all the 'possible combination' of each length from the given array. The time complexity of this algorithm is 'O(n*(2^n))'. A function to print all 'Combination of a Length'

C Program Check the String is Palindrome - C program code to 'Check whether a String' is palindrome or not without using loop. How to Check whether a string is 'Palindromic String' or not in C. Palindrome string is special string

Program to Display Odd numbers without - C Program to print odd numbers from 1 to n without if statement. The above approach is not optimal approach to print odd numbers. Observe the above program for a while. You

Simple Program for Inline Functions Using - An "Inline Function" is a function upon which the compiler has been requested to perform inline expansion. programmer has requested that the compiler insert the complete body of

Find the Common Ancestor and Print Path - C Create temporary node. Create the binary search tree. Display the preorder traversal of the tree. Find common ancestor for given nodes. Find whether given nodes are present

Calculates Area & Circumference of Circle - To calculate area and circumference we must know the radius of circle. C program code will prompt user to enter the radius and based on the input it would calculate the values. Make

Write the Number as the Sum of Numbers - Algorithm "Counts the partition" of the given number. There is no straight method to count a total number of the partition so we need to 'Generate and Count' them. Time complexity