What is the difference between syntax and semantics? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between syntax and semantics?

24th Jun 2020, 7:43 PM
Muhammad Shahzaib Qureshi
Muhammad Shahzaib Qureshi - avatar
1 Answer
+ 3
Semantic is what your code means--what you might describe in pseudo-code Syntax is the actual structure --everything from variable names to semi-colons
24th Jun 2020, 7:50 PM
Eto
Eto - avatar