Question: What is the purpose of type checking in a compiler?
Options:
Correct Answer: To verify that operations are performed on compatible data types
Solution:
Type checking verifies that operations are performed on compatible data types, ensuring program correctness.