I have written a code to implement an algorithm for base conversion from decimal to any base between 2 and 36 given in RG Dromey. Below is my code and I have a few questions relating to it:
1. Why is there a need for reverse conversion to characters of the ascii value after conversion before storing them in the array newrep.
printf("Enter number and base(between 0 and 36) to be converted");
2. My program hangs when I input the values of q and newbase on dev C platform. Please help!