Operators and Expressions in php
?
What is the output of given statement?
What is the output of given statement?
Print 17 % 3;
Question posted by
Examveda
Keep Learning
Related Questions on Operators and Expressions in php
What will be the output of the following PHP code ?
<?php
"Hello World"
?>
A.
Error
B.
Hello World
C.
Nothing
D.
Missing semicolon error
What will be the output of the following PHP code ?
<?php
print_r "Hello world"
?>
A.
Error
B.
Hello World
C.
Nothing
D.
Missing semicolon error
What will be the output of the following PHP code ?
<?php
$color = "red";
echo "$color";
echo "$COLOR";
echo "$Color";
?>
A.
redredred
B.
redred
C.
red
D.
Error
What will be the output of the following PHP code ?
<?php
# echo "Hello world";
echo "# Hello world";
?>
A.
# Hello world
B.
Hello world# Hello world
C.
Hello world
D.
Error
More Related Questions on Operators and Expressions in php
Print 17 % 3;
Question posted by
Examveda
Keep Learning
Related Questions on Operators and Expressions in php
What will be the output of the following PHP code ?
<?php
"Hello World"
?>
A.
Error
B.
Hello World
C.
Nothing
D.
Missing semicolon error
What will be the output of the following PHP code ?
<?php
print_r "Hello world"
?>
A.
Error
B.
Hello World
C.
Nothing
D.
Missing semicolon error
What will be the output of the following PHP code ?
<?php
$color = "red";
echo "$color";
echo "$COLOR";
echo "$Color";
?>
A.
redredred
B.
redred
C.
red
D.
Error
What will be the output of the following PHP code ?
<?php
# echo "Hello world";
echo "# Hello world";
?>
A.
# Hello world
B.
Hello world# Hello world
C.
Hello world
D.
Error
Join the Discussion
Login to post a comment or share your explanation.
Login