1,313 views
0 votes
0 votes

Find the C statement which has a syntax error.

  1. fi(z);
  2. for(a, b, c);
  3. whil(a, b);
  4. fi (z);
  5. for (a, b, c);
  6. whil (a, b);
  7. None of these.

This is a modification of https://gateoverflow.in/33320/identify-syntax-error

Please log in or register to answer this question.

Related questions

1 votes
1 votes
2 answers
1
Souvik33 asked Jan 12, 2023
556 views
What is the earliest stage compiler error for the following C code snippet:int x = @33;Lexical ErrorSyntax ErrorSemantic ErrorNone
0 votes
0 votes
3 answers
2
OneZero asked Jan 21, 2019
934 views
int main(){int a = 10;fun(a);}void fun(int a){printf(“%d”,a);}Which phase of the compiler will raise an error?Lexical syntaxsemanticsnone of the above
1 votes
1 votes
1 answer
3
rahul sharma 5 asked Apr 28, 2018
1,417 views
int a = b+*/c;Which phase will give the error?Lexical or syntax?
0 votes
0 votes
1 answer
4
ambro asked Nov 5, 2023
167 views