Q. Which of these operators can skip evaluating right hand operand?

  • (A) |
  • (B) &&
  • (C) &
  • (D) !
πŸ’¬ Discuss
βœ… Correct Answer: (B) &&
Explanation: Operator short circuit and, &&, and short circuit or, ||, skip evaluating right hand operand when output can be determined by left operand alone.
Explanation by: Rajeev Malhotra
Operator short circuit and, &&, and short circuit or, ||, skip evaluating right hand operand when output can be determined by left operand alone.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
236
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Rajeev Malhotra
Publisher
πŸ“ˆ
85%
Success Rate