# C Programming Code Examples

## C > Arrays and Matrices Code Examples

### C Programming - print the address of array elements

Open Read Write and Close operation in C -
C file operations: Open, read, write and close operation in C. The fclose( ) function is used for closing an opened file. As argument you must provide a pointer to the file that you...

Perform to a 2D FFT Inplace a Complex 2D -
A fast Fourier transform (FFT) is an algorithm to computing the discrete 'Fourier transform' and its inverse. Fourier analysis converts time (or space) to frequency and vice versa; an FFT

The C Programming Pointers & 2D Arrays -
As we know that the one "Dimensional Array" name works as a pointer to the base element of the Array. However in the case "2D Arrays" the logic is slightly different. You can consider

C Language Print Natural Numbers 1 to N -
C program print all natural numbers from 1 to n using loop. Input upper limit to print natural number from user. Store it in a variable say N. Run a For Loop from 1 to N with 1 increment.

C Program Print Number Pyramid Pattern -
In Each Iteration we are moving downward so increment "y". For each new 'Iteration' we are starting from beginning but one 'co-ordinate' back so decrement x. 'Moves Cursor Position'

Check the Number is Prime or Not in C++ -
To check the number is a "prime number" or not a prime number in C++, enter a number and 'start checking' for prime number. If the number is divisible by 2 to one less than that

Find Palindrome Number in C++ language -
We already known that if reverse of a number is equal to the same number, it is Palindrome number. Remember it: certain variables and a loop use to get the reverse of a number which

C Sort Structures on the basis of Structure -
Using cricket, declare an array player with 10 elements and write C program code read the information about all the 10 players and print a team wise list containing Names of Players