Insertion Sort in C language with for loops only

Simple imlementation of Insertion Sort in C, using:

  • a nested for-loop in a for-loop (alternative way)
  • memory allocation
  • randomly generated values

Compile with this command:

gcc "insertion.c" "test.c" "main.c" -o "insertion.exe"