Q. What will be the output of: echo 5 ?? 10;

  • (A) 5
  • (B) 10
  • (C) null
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 5
Explanation: Null coalescing returns left operand if not null.
Explanation by: Kanak Sharma
Null coalescing returns left operand if not null.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
36
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
96%
Success Rate