Q. What will be the output?

Code:
echo strlen(NULL);
  • (A) 0
  • (B) NULL
  • (C) Error
  • (D) 1
πŸ’¬ Discuss
βœ… Correct Answer: (A) 0
Explanation: NULL is treated as empty string.
Explanation by: Roshan
NULL is treated as empty string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
45
Total Visits
πŸ“½οΈ
7 mo ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
85%
Success Rate