Q. What will be the output?
Code:
echo strlen(NULL);
β
Correct Answer: (A)
0
Explanation: NULL is treated as empty string.
echo strlen(NULL);
Explanation: NULL is treated as empty string.