What will be the output of the following question? - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
25 followers study24x7 20 May 2020 10:30 AM study24x7 study24x7

What will be the output of the following question?<?php
$array = array(10,20,30);
foreach($array as $val){
echo $val1."\n";
}
?>

A

10

B

undefined variable

C

10 20 30

D

No output

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles