 # C Programming Code Examples

## C > Bitwise Operators Code Examples

### Check whether the given Number is Palindrome or not using Bitwise Operator

Reads an Array and Search for an Element - C program accept an array of N elements and a key to search. Search is successful, displays the message "Successful Search". Otherwise, the message "Unsuccessful Search" is display.

Convert Binary Code of a Number into its - C Programming Language code to convert binary code of a number into its equivalent gray's code without using recursion. Gray is also represented using 0s and 1s. Speciality

Polymorphism is a Feature using which an - Function overloading & Operator overloading are examples of "Polymorphism". In The C++ programming In function overloading we can have more than one function by 'same name'

C++ Language Random Number Function - Your program should always generates a new sequence of random number. You need to set a seed to random generator according to the current time. It can be done in the following

Swapping Two Numbers Without Variable - Imagine we have two number 1 and 2 stored in x and j respectively now. If we add x and j (1 + 2) and store it to x then x will become 3 and j is still 2. We subtract j (2) from new value of

C Program Computes Factorial of number - The Factorial of a Positive Number n is given by: factorial of n (n!) = 1*2*3*4...n. Factorial of a negative number doesn't exist. And, the factorial of 0 is 1, 0! = 1. The program takes a

C Language Program Print Reverse Array - Print an array in reverse order, we shall know the length of the array in advance. We can start an iteration from length value of array to zero and in each iteration we can print...

C++ Using The If Else Ladder Else If Clause - The "expressions" are evaluated in order; if an expressionis true, the 'statement' or 'block of statement' associated with it is executed, and this terminates the whole chain. The Code for