C Programming Array and Pointer Examples

In this article, you'll learn to create and work with arrays and pointers in C through detailed examples.
C Programming Array and Pointer Examples

To understand all programs in this article, you should have the knowledge of following array and pointer topics:

  1. Arrays
  2. Multi-dimensional Arrays
  3. Pointers
  4. Array and Pointer Relation
  5. Call by Reference
  6. Dynamic Memory Allocation

 

Array and Pointer Examples

C Program to Calculate Average Using Arrays
C Program to Find Largest Element of an Array
C Program to Calculate Standard Deviation
C Program to Add Two Matrix Using Multi-dimensional Arryas
C Program to Multiply to Matrix Using Multi-dimensional Arrays
C Program to Find Transpose of a Matrix
C Program to Multiply two Matrices by Passing Matrix to Function
C Program to Sort Elements of an Array
C Program to Access Elements of an Array Using Pointer
C Program Swap Numbers in Cyclic Order Using Call by Reference
C Program to Find Largest Number Using Dynamic Memory Allocation