ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
In which of the following mechanisms, types of all variables and expressions are fixed at compilation time.
Correct Answer: C — Static Binding/ early binding
The memory address of a variable can be statically bound to the variable at compile time or dynamically at runtime. Likewise, variables in some languages have dynamic types that change during program execution, while other variables have static types that remain fixed over the execution of the program. Only the binding of the value determines whether the object is a variable or something else (such as constant).