void functionality()
{
int ll = 5
char x = 'A';
for (int i = 0; i < ll; i++)
{
printf("c ", x);
}
}
I am learning C language and I wrote the above snippet. However, it is not running with loads of errors. I cannot seem to find the problem of what is happening here since I followed the code from a tutorial and I have double checked everything.
int main()
{
printf(functionality);
}