# C Programming Code Examples

## C > Bitwise Operators Code Examples

### C Program to Swap two Integers without using Temporary Variables and Bitwise Operations

C Program Code Calculate Simple Interest -
C code example to input principle amount in some variable say principle and input time in some variable say time. Input rate in some variable say rate. Find simple interest using

Convert from degree Fahrenheit to Celsius -
C programming code to input temperature in degree Fahrenheit and convert it to degree Centigrade. Code convert temperature from Fahrenheit to Celsius in the C programming.

C++ Program to Implement Selection Sort -
This C++ program sample sort the given data using Selection Sort. Selection sort algorithm sort data by comparing one element to every other element & decide its position. The time

C++ program for Complex Numbers using -
Class for addition, subtraction, multiplication and division for 'complex numbers'. Class has 4 functions to perform arithmetic operations. It takes 2 "complex numbers" input from user

C Program Calculates Compound Interest -
C Programming code input principle amount. Store it in some variable say principle. Input time in some variable say time. Input rate in some variable say rate. Calculate compound

C++ Swap Two Numbers Using 3. Variable -
Swap numbers means exchange the values of two variables with each other. Variable num1 contains 20 and num2 contains 40 after swap there values num1 contains 40 num2 contains

C Code perform functions of a Calculator -
C Programing code to perform functions of a calculator: factorial, addition, subtraction, multiplication, division, squares. Sum of the input numbers. The difference between the

Simple Class Declaration in C++ language -
C++ language allows us to separate program-specific datatypes through the use of classes. "C++ Classes" define types of data structures and the functions that operate on those data