Can someone tell me what's wrong with my syntax.. THanks
#include<stdio.h>
#include<conio.h>
void FACTORIAL(int factorial=1, int N)
{int y;
{for(y==1;y<=N;y++)
factorial=factorial*y;
printf("The factorial of %d is %d", N,factorial);}
}
void main()
{clrscr();
printf("Please enter a no.");
scanf("%d",&N);
FACTORIAL(factorial=1,N);
getch();
}