First, count up the number of digits in the candidate value; an easy way to do this is take the floor value of the log of the number and add 1 (for example, floor(log10(1234)) = 3, so 3 + 1 = 4 digits...
Kapil S Shinde
Feb 25th, 2014
"c start
Accept num
noOfDigit=calculate number of digits //use counting digit function
while(num!=0)
{
remainder=inum%10;
sum=sum+pow(remainder,noOfDigit); //use power func...
Dear Mohit,Sorry for late reply. I was busy doing other important tasks.You are correct,int *a = 0; won't generate any warning.and for DOS it would be 2 bytes instead of 4 for pointers without any dou...
Answer to Question 4.Here I am giving the full program which should run without any warning and error in Turbo C++ 3.0<-------------------------------------------------------------------------...