Write a program to check a number is special or not. (Special is a number which is equal to the sum of factorial of each digit of the given number).
int fact(int n)
printf(“\n Enter a number: “);
printf(“\n %d is a special no.”,temp);
printf(“\n %d is not a special no.”,temp);