πŸ“Š PHP
Q. what is the output of below program?
Code:
<?php
$x = 4/5*3;
$y = 1/.3;
$x ^= $y;
$y ^= $x;
$x ^= $y;
echo "$x, $y";
?>
  • (A) 0, 3
  • (B) 0, 4
  • (C) 2, 3
  • (D) 3, 2
πŸ’¬ Discuss
βœ… Correct Answer: (D) 3, 2

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
52426
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
90%
Success Rate