πŸ“Š PHP
Q. What will be the output of the following PHP code?
Code:
<?php
$Laptops = array(
    "MAC",
    "Lenovo",
    "Dell",
    "HP"
);
echo gettype($Laptops);
?>
  • (A) array
  • (B) array(4)
  • (C) object
  • (D) string
πŸ’¬ Discuss
βœ… Correct Answer: (A) array

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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