Miscellaneous › Others › c programming › its very easyuse
August 28, 2015 at 9:45 am
#13229
Ashutosh Bhatt
Participant
its very easy
use following
while(num>10)
{
num1 = num%10;
digit = num1;
num = num/10
digit[] is an array that contains all digits of given number