MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Php knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What will be the output of the following PHP code?<?php$Employee = array("Ajit", "Rahul", "Ats");$id = array("001", "002", "003");$pro = array_combine($id, $Employee);print_r($pro);?> |
| A. | Error |
| B. | Nothing |
| C. | None of these |
| Answer» B. Nothing | |
| 2. |
What will be the output of the following php code?<?php$Employee = array("Ajit" => array( "Salary" => "2,40,000", "Designation" => "Software Engineer"),"Sumi Sharma" => array( "Salary" => "3,00,000","Designation" => "Software Developer") );echo $Employee["Ajit"]["Salary"];?> |
| A. | Error |
| B. | Ajit 2,40,000 |
| C. | Ajit Sumi Sharma |
| D. | 2,40,000 |
| E. | None of these |
| Answer» E. None of these | |