 # C Programming Code Examples

## C > Arrays and Matrices Code Examples

### C program to merge two sorted array

Print Natural Number in Reverse in Range - Logic to print Natural Number in reverse in a given range. If you got above logic, then you can easily modify to print natural numbers in reverse in given range. We need to make two

C++ Computes Discrete Fourier Transform - This is a C++ Program to perform Fast Fourier Transform. A 'Fast Fourier transform' (FFT) is an algorithm to compute the discrete Fourier transform (DFT) & its inverse. Fourier analysis

Counts Leading Zeros in a Binary Number - Find total leading zeros of a given number (in binary representation) using bitwise operator in C programming. Write a C program code to input any number from user and find total

C Returns a Pointer to the first occurrence - C programming code sample about returns a pointer to the first occurrence of str2 in str1 or a null pointer if there str2 is not part of str1. It returns a null pointer if no match is...

Program Implement Doubly Ended Queue - Inserting element into the "deque". Deleting element from the deque. "Insert" element in "doubly ended queue". Enter the value to be inserted. Element inserted into empty deque.

Code Nonzero If ch is a White-Space Char - C Programming Language codings to returns nonzero if ch is a white-space char, including space, horizontal tab, vertical tab, formfeed, carriage return, newline character; otherwise

C Codes Multiply 2 Numbers use Function - Create a user defined function product() that multiplies the numbers that we are passing to it during function call. This c function returns the product of these numbers. To understand

C Programming Language Median Sample - A 'median' value is the value at the center of a sorted list. To median we need to sort the list in ascending or descending order. The List of 3, 5, 2, 7, 3 as our input list, to find out median