Ask Question
2 May, 12:28

Which of the following will cause asyntax error? (0 < num) && (num <12) 0 < num <120 < num&& num 0&& num <12

+5
Answers (1)
  1. 2 May, 15:13
    0
    The answer to this question is that none of the following will give syntax error. All of them will get executed.

    (0 < num) && (num <12)

    0 < num <12

    0 < num&& num < 12

    num > 0&& num <12

    There is no syntax error i have checked on the compiler also. But logically we take variable on the left side of the comparison operator and the value to the right of the operator.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which of the following will cause asyntax error? (0 < num) && (num ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers