C Programs

    Basics Conditionals Loops 1D Arrays 2D Arrays Strings Pointers

Program List - Pointers

  1. Declaration, initialization and usage of pointers
  2. Arithmetic operations on two numbers using pointers
  3. Largest of two numbers using pointers
  4. Swap two numbers using pointers
  5. Array implementation of pointers
  6. Reverse the array elements using pointers
  7. Copy one array to another using pointers
  8. Swap two arrays using pointers
  9. Search an element in the array using pointers
  10. Sum of elements in array using pointers
  11. Sort the array using pointers
  12. Two dimensional array implementation using pointers
  13. Add two matrices using pointers
  14. Subtract two matrices using pointers
  15. Multiply two matrices using pointers
  16. Length of string using pointers
  17. Copy string to another using pointers
  18. Concatenate two strings using pointers
  19. Compare two strings using pointers
  20. Reverse a string using pointers
  21. Extract substring from a string using pointers
  22. Implementation of string arrays using pointers
  23. Return multiple values from function using pointers
  24. Usage of pointers to functions
  25. Pointer to structures
  26. Pointer to array of structures
  27. Pointer to union
  28. Find the largest element in an array using dynamic memory allocation