practice_C

Two-Dimensional Arrays

Exercises

  1. Check whether an integer is a palindrome.
  2. Count positive, negative, and zero elements in a 2D array.
  3. Add two matrices of user-provided compatible dimensions.
  4. Multiply two matrices when their dimensions are compatible.

Concepts practiced

2D arrays, nested loops, and matrix dimension checks.

Click here for explanation and solution.