 # C Programming Code Examples

## C > Arrays and Matrices Code Examples

### Program to Calculate the Addition or Subtraction & Trace of 2 Matrices

C Language & CPU Scheduling Algorithm - C Program Checks if the mouse pointer is over the button. Checks whether count=1 so as to display the button on the new position for only once. Creates a box and the box is...

Check Prime, Armstrong, Perfect Number - C First give a meaningful name to our prime checking function say isPrime() function will check a number for prime. Since our function checks a number for prime condition. Hence

Creating a Function Checks Prime Number - Function returns true if the number passed to the function is a 'prime number', returns false if the number passed is not a 'prime number'. The appropriate message is printed from the

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

Code Print Prime Numbers in given Range - C program print all prime numbers between 1 to n. Input upper & lower limit to print prime. Find Prime numbers between 1 to n. Assume that the current number is Prime and check if

Calculates Sum of Odd and Even Numbers - C program code find the sum of odd and even numbers from 1 to N. Take Number N upto which we have to find the sum as input. Using for loop take the elements one by one from 1

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

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