Hi,
I have created this function to reverse the character array. However, it doesn't print the array in reverse order.
Can someone please tell me the errors in my code?
Both a and b have indeterminate values. The same situation occurs in your code. The order in which you place statements matters. Think the logic through.