I keep getting a syntax error when trying to compile an if statement:
Code:#include <stdio.h>
#include <conio.h>
char c;
int main (void)
{
printf("press any key");
c = getch();
if (iscntrl (c)) /* ...... Error is here ................ */
printf(" you entered a control character",c);
}