First time here? Checkout the FAQ!
0 votes

asked in Compiler Design by Veteran (19.2k points)   | 36 views

1 Answer

0 votes
  •  Syntax errors occur during the parsing of input code, and are caused by grammatically incorrect statements. Typical errors might be an illegal character in the input, a missing operator, two operators in a row, two statements on the same line with no intervening semicolon, unbalanced parentheses, a misplaced reserved word, etc.
  •  Semantic errors occur during the execution of the code, after it has been parsed as grammatically correct. These have to do not with how statements are constructed, but with what they mean. Such things as incorrect variable types or sizes, nonexistent variables, subscripts out of range, and the like, are semantic errors.
answered by Boss (9.5k points)  
so syntatic error should be answer ryt .

Related questions

0 votes
0 answers
asked in Compiler Design by kunal chalotra Veteran (19.2k points)   | 30 views
0 votes
0 answers
asked in Compiler Design by kunal chalotra Veteran (19.2k points)   | 25 views
Top Users Jan 2017
  1. Debashish Deka

    8126 Points

  2. sudsho

    5042 Points

  3. Habibkhan

    4706 Points

  4. Vijay Thakur

    4458 Points

  5. Bikram

    4348 Points

  6. saurabh rai

    4212 Points

  7. Arjun

    4010 Points

  8. santhoshdevulapally

    3722 Points

  9. GateSet

    3292 Points

  10. Sushant Gokhale

    3286 Points

Monthly Topper: Rs. 500 gift card

19,122 questions
24,033 answers
20,276 users