# C Programming Code Examples

## C > File Operations Code Examples

### Program to Convert the Content of File to LowerCase

C Specifies the buffer that Stream will use -
Send to a buffered stream to filep1 and send to an unbuffered stream to filep2. Set buf to null to turn off buffering. The buffer must be BUFSIZ characters long. BUFSIZ is defined in

Calculate Sum and Difference of Matrices -
C Program calculates the sum & difference of the matrices. Code first reads 2 matrices and then performs both addition and subtraction of matrices. Sum of elements of matrix A and

Codes Convert Binary Number to Decimal -
C Programming code take a binary number and store it in the variable j. And initialize the variable decimal_val to zero, variable base to 1. Obtain the remainder and quotient of the...

Count the Occurrence of each C Keywords -
C Program 'counts the occurrences' of each C keyword by array structure. "C keywords" are the words which have a definition and cannot be used as an identifier. Continue, double, for

C Code Find LCM Least Common Multiple -
C Program to Find LCM In C language. L.C.M. or Least Common Multiple of 2 values, is the smallest positive value which the multiple of both values. For example multiples of 3 and 4

C Find Prime Numbers Between the Range -
The program takes the range and finds all the 'Prime Numbers' between the range & prints. Lets first take the range of numbers between which you have to find the prime numbers as

Find the Maximum Size Clique in a Graph -
This is a C++ Program to find the 'cliques' of size k in a a graph. An "Undirected Graph" is formed by a finite set of vertices and a set of unordered pairs of vertices, which are called

C Print Elements of Array using Recursion -
Define our Recursive Function to print array elements & say printArray(int arr[], int start, int len). The function takes three parameters where first is array to print, second is starting