Q. Which of the following will cause a semantic error, if you are trying to compare x to 5? (A) if (x == 5) (B) if (x = 5) (C) if (x <= 5) (D) if (x >= 5) ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) if (x = 5)