Consider the below given C code:
Void main()
{
int x=5,y=2;
int *p;
p=&x;
y=*p;
x=*y;
printf("y is %d x is %d\n",y,x);
}
Choose the correct option:
- No error in this code
- The following program has 1 lexical error, 1 syntax error.
- The following program has 1 lexical error, 1 semantic error.
- The following program has 1 lexical error only.