Q. What will be the output?
Code:
$x = 10;
if($x > 5) {
echo "Yes";
} else {
echo "No";
}
β
Correct Answer: (A)
Yes
Explanation: Condition is true, so 'Yes' is printed.