Type Checking (1)
Type Checking (1)
● Type checking is checking and enforcing the constraint of types assigned to values in a
program.
● The compiler has to follow the type of rules as per the language
● Each language follows its own rule
a. Syntactic structure
b. The type expression of language
c. The rules for assigning types to construct