0
What is syntax error
5 ответов
+ 2
its an error within a sequence of characters written in a particular language and is detected at compile-time...for compiled languages of course
+ 2
Syntax error is a type of error which occurs due to following reason.
1.Not following the grammatical rules used in declaration of identifier.
2.Not declaring an identifier used in program.
3.Not terminating statement by semicolon.
4.Not providing equal number of opening and closing braces etc.
+ 2
syntax error is a type of error which occurs due to following reason, like missing of ; , missing of brackets, missing of int/float, wrong spelling... etc.
+ 1
A Sytax error happens, when you has written one ore more words wrong, e.g. You typed in "flot" rather than "float".
0
Usually some errors are hard to fix and one missing character can generate multiple lines of errors when you compile