# C Programming Code Examples

## C > Bitwise Operators Code Examples

### C Program to Check if nth Bit in a 32-bit Integer is Set or not

C++ Bitap Algorithm and String Matching -
The algorithm tells whether a text contains a substring which is "approximately equal" to a given pattern, where approximate equality is defined in terms of Levenshtein distance and

Find the Largest Two Numbers in an Array -
C Program code calculates the largest of two numbers in a given Array. First it accepts an array, then compares the elements and finds which is the largest two element in a given...

How to Call a Function in C Programming? -
Call a function in C Language. A function is a block of statements that performs a specific task. Suppose you are building an application in C Language and in one of your c code, you

Program Remove given Word from String -
This program takes string and its substring as input, removes the Substring from the string. Take a string, its substring as input and Store it in the array str[] & key[] respectively. Store

Program Find the Average using Function -
C code to find the average using function. We have created user defined function average() for the calculation of average. The numbers entered by user are passed to this c function

Code Find Sum of lower Triangular matrix -
C program to read elements in a matrix and find sum of lower triangular matrix. How to find sum of lower triangular matrix in C. Find sum of lower triangular matrix, we need to

C Program code to Multiply two Matrices -
Read elements in two matrices and multiply them. Matrix multiplication program in C. How to multiply matrices in C programming. Input elements in first matrix from user and...

Prints the Sum of all Odd Numbers in C++ -
The digit sum of a given integer is the sum of all its digits (digit sum of '84001' is calculated as 8+4+0+0+1 = 13). Odd number is an integer which is not a multiple of two. If it is "divided"