+ 3

Difference between syntax and semantics

confusing every time for the programming point of view

21st Jan 2018, 10:00 AM
Rakesh Patil
Rakesh Patil - avatar
3 Answers
+ 6
syntax is the grammar. semantics is the sense.
21st Jan 2018, 10:17 AM
Jeremy
Jeremy - avatar
0
syntax is how the program looks like & semantic means what is the mean of particular set of statements
21st Jan 2018, 10:11 AM
ajbura
ajbura - avatar
0
Syntax refers to the structure/form of the code that a specific programming language specifies but Semantics deal with the meaning assigned to the symbols, characters and words. Syntax: It is referring to grammatically structure of the language.. If you are writing the c language .
24th Jan 2018, 12:21 PM
Sagar Dahile
Sagar Dahile - avatar