Loading practice questions
In which of the following mechanisms, types of all variables and expressions are fixed at compilation time.
Correct Answer: C — Static Binding/ early binding
Explanation:
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).