πŸ“Š PHP
Q. What will be the output of the following php code?
Code:
<?php
$num  = "1";
$num1 = "2";
print $num+$num1;
?>
  • (A) 3
  • (B) 1+2
  • (C) 12
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 3

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
341
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Santosh Mishra
Publisher
πŸ“ˆ
97%
Success Rate