p1 = nnn will give you a pointer from int without a cast or differs in levels of blah blah blah warning. it depends on which compiler you use.
nnn is the value stored in that element of the array, not the address. the address would be &nnn, which is the same as just nnn.
Crazy_C, this code:
should go before your calls to selectionSort and rev.
for(g=0; g<SIZE; g++)
you could also use
memcpy(nnn, nums, sizeof(nums));
to copy nums to nnn if youd like.
not sure but you might have to include <string.h>.
hope this helps.
oh, yeah, this:
for(walker=col+1; walker<=SIZE; walker++)
for(walker=col+1; walker<SIZE; walker++)
remember, int nums consist of elements 0 through 4.
who knows what the value of nums is.