I want to get the reverse of the 5 digit number but i'm not getting it. I don't know where is the problem.I'm a beginer.In my book book there is a similar kind of problem where it's mentioned that the input value should be less than 32767.my question is why? and the second thing is if i choose any number less than 32767, still i'm not geting the answer.Do I have to choose a value where the reverse number is also less than 32767.please tell me.
printf("Enter a 5 digit number: ");
printf("The desired value is:%d",total);