Code:
#include<stdio.h>
int main()
{
int n,i;
int m=1;
print(“enter number for factorial\n”);
scan(“%d”,&n);
for(i=1;i<=n;i++)
m=m*i;
printf(“value of factorial=%d\n”,m);
//Chetan Shidling
return 0;
}
There are two errors in this code, find out and explain the working of code.