How I can write a program to sort 2D array using C language and without using pointer,
just looping and if statements and using only main function
the array
7 5 2
3 1 4
6 9 8
and will be
1 2 3
4 5 6
7 8 9
please if you can post a sample code 🙂
Thanks a lot
Try searching the web before posting such questions. Any ways this is a bubble sort implementation in c: