The problem is here:
printf("%3d", **(arrayAscending + i));
You are incrementing a pointer to pointer.
In accordance to the code that I see here, it supposed to be the following:
printf("%3d", *((*arrayAscending) + i)));
The first of all you should dereference the arrayAscending
in order to get the pointer integerArray
value and only after this increment it if you do not want use the indexing.
You can also write as follows:
printf("%3d",(*ayyarAscending)[i]);
But actually more simple is just using indexing:
printf("%3d", integerArray[i]);