πŸ“Š PHP
Q. What is the result of the following PHP code?
Code:
<?php
    $states = array(
                    "United states" => 
                        array(
                            "population" => "22,12,000", 
                            "captial" => "Washington"
                        ),
                        "Washington" => 
                            array( 
                                "population" => "9,80,000", 
                                "captial" => "Washington"
                            )
    );
    
    echo  $states["United states"]["population"];
?>
  • (A) 22,12,000
  • (B) 9,80,000
  • (C) United states population
  • (D) United states 22,12,000
πŸ’¬ Discuss
βœ… Correct Answer: (A) 22,12,000

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
20906
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Pritvik
Publisher
πŸ“ˆ
81%
Success Rate