πŸ“Š PHP
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

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
6 h ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
80%
Success Rate