πŸ“Š PHP
Q. What will be the output?
Code:
echo count(null);
  • (A) 0
  • (B) 1
  • (C) Error
  • (D) NULL
πŸ’¬ Discuss
βœ… Correct Answer: (A) 0

Explanation: count(null) returns 0.

Explanation by: Roshan
count(null) returns 0.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
2
Total Visits
πŸ“½οΈ
8 d ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
94%
Success Rate