Above code works but what does number 10 represent?
why replacing the 10 with a 3 (should be maximum amt of digits) doesn't give the correct long int?
also, what does pEnd do?
It represents the base of the number being copied to a.
ie: if you want a to have the hexadecimal(base 16) of 493(value of num[64]) in a, then replace the 10 with 16