i have a doubt.
why cannot we use clrscr() before initializing a variable in C?
i mean, why wont this work ?
void main()
{
clrscr();
int a,b;
----
----
getch();
}
It'll give an error saying , "Declaration is not allowed here "
Logically speaking , you should be able to put a clrscr() anywhere right ?