Computer Science, asked by itsyashasvisingh, 26 days ago

Explain the term Syntax and Semantics with an example.​

Answers

Answered by yasaswini19
0

Answer:

Put simply, syntax refers to grammar, while semantics refers to meaning. Syntax is the set of rules needed to ensure a sentence is grammatically correct; semantics is how one's lexicon, grammatical structure, tone, and other elements of a sentence coalesce to communicate its meaning.

Similar questions