Q. what is the output of below program?

Code:
<?php
$cars=array("Maruti","Honda","BMW");
echo strlen($cars[0]);
?>
  • (A) 1
  • (B) 3
  • (C) 6
  • (D) 8
πŸ’¬ Discuss
βœ… Correct Answer: (C) 6

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
69628
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
86%
Success Rate