Define semantics of a programming language

The rules that tell whether a string is a valid program or not are called syntax of the language. The rules that give meaning to programs are called the semantics of a programming language.

 

Leave a Reply