answersLogoWhite

0


Best Answer

The syntax of an operator is how it is used in an expression, i.e., how it looks. The semantics of an operator are what it does, how it works, and what side-effects it has.

Syntactically, "+" is written as "A + B"; semantically, it returns the sum of its operands.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the different between syntax and semantic?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is an adjective before a noun an example of a semantic syntax or linguistic relativity?

no.


How do you understand errors?

Errors are bugs or mistakes.It coulb be syntax or semantic in nature.


What the difference between syntactic knowledge and semantic knowledge?

Syntactic knowledge refers to an understanding of sentence structure and grammar rules in a language, while semantic knowledge pertains to the meaning of words and how they are used in context. Essentially, syntactic knowledge deals with how words are arranged to form meaningful sentences, while semantic knowledge focuses on the meaning and interpretation of those sentences.


What has the author P A M Seuren written?

P. A. M. Seuren has written: 'Semantic syntax'


What is the difference between lexis and grammar?

Lexis = It is the morpheme or vocabulary in a language that has semantic content. Grammar = a set of structural rules in the appropriate application of the parts of speech in a syntax.


What is semantic and syntactic?

Syntax refers to the set of rules that govern what sequences of symbols are valid programs or not. Semantics refers to what the various syntactic constructs actually mean, what they do, and so on.


Is the syntax between c and c plus plus different?

Yes


What are the basic difference between c sharp and vbnet?

They use different syntax.


What is a difference between Programming language and peoplecode?

Logic is same, but syntax is different.


Differences between syntax and semantic?

syntax-it is the structure of the program.syntactic analysis checks whether the syntax is correct or not.if any of the punctuation(, ;) or ibraces are missing then the program wud b syntactically wrong... semantic-it means the meaning that the program conveys.whether the meaning is correct or not. for eg sun rises in west this sentence is syntactically right as there is no mistake of grammar bt it convey a wrong meaning as sun never rises in west.... hence it is syntactically right bt semantically wrong


What is Latinate syntax?

Latinate syntax refers to the sentence structure and word order that is characteristic of the Latin language. It typically involves a more complex and flexible word order than English, with elements such as adjectives, verbs, and nouns often appearing in a different order than in English sentences. This style of syntax is often used in formal writing or rhetoric to convey a sense of sophistication or formality.


What is distinction between semantics and syntax?

semantics = words; syntax = how they're used