# C Programming Code Examples

## C > If Else and Switch Case Code Examples

### Compare Three integers in C

```
```

```
```

Order of Constructor Call in C++ language - In The C++ programming, When a default or parameterized constructor of a derived class is called, the "Default Constructor" of a base class is called automatically. As you create an

C Programs Depth First Binary Tree Search - C program, using recursion, performs a depth first search traversal. Depth-first search (DFS) is an algorithm for 'Traversing or Searching' a tree, 'tree structure' or graph. The concept of

C++ Programming & Shell Sort Algorithm - "Shellsort", also known as Shell sort or Shell's method, is an in-place comparison sort. It can be seen as either a 'Generalization of Sorting' by exchange or 'sorting by insertion'. Method

C++ Computes Cross Product of 2 Vectors - C++ Program to find the cross product of two vectors. In mathematics, the cross product or vector product is a "Binary Operation" on two vectors in three-dimensional space. It results

Sorting of Less Than 100 Numbers in O(n) - We can implement the task best using 'Radix' sort. In this algorithm Sorting of data is done from least significant digit to most significant digit. Need 10 different spaces labeled '0 to 9'

Code Converts Binary Number to Decimal - C language code to convert binary to decimal number system. The Binary number system is base 2 number system & uses only 2 symbols to represent all its numbers i.e. 0 and 1. Input

Printing Multiplication Table of a Number - C program to input a number from user and print multiplication table of the given number using for loop. Input a number from user to generate multiplication table. Store it in a var