What is syntax error | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What is syntax error

6th Nov 2016, 9:26 PM
haguma vedrine
haguma vedrine - avatar
5 Antworten
+ 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
6th Nov 2016, 9:38 PM
siuilban
siuilban - avatar
+ 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.
6th Nov 2016, 9:52 PM
Melo Modiga
Melo Modiga - avatar
+ 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.
7th Nov 2016, 8:13 AM
Pulak Das
+ 1
A Sytax error happens, when you has written one ore more words wrong, e.g. You typed in "flot" rather than "float".
6th Nov 2016, 9:33 PM
Denis Vejzagic
Denis Vejzagic - avatar
0
Usually some errors are hard to fix and one missing character can generate multiple lines of errors when you compile
8th Nov 2016, 8:36 AM
Sunzuiana Marius Ovidiu