MCQs > IT & Programming > PHP > Output when code is executed? $alpha = array('A' => 'AA', 'Bud' => 'BB','C' => 'D'); $food = array('tea', 'drink', 'pizza', 'juice'); printf(foods var export food true)

PHP MCQs

 What is the output when the following code is executed?  $alpha = array('A' => 'AA', 'Bud' => 'BB','C' => 'D'); $food = array('tea', 'drink', 'pizza', 'juice'); printf(foods var export food true)

Answer

Correct Answer:

Alpha: array ( 'A' => 'AA', 'Bud' => 'BB', 'C' => 'D', ) Food: array ( 0 => 'tea', 1 => 'drink', 2 => 'pizza', 3 => 'juice', )


Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it