πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$n = 10;
for ($n)
{
    print $n;
}
?>
  • (A) Nothing
  • (B) 10
  • (C) $n
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (D) Error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
121114
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
89%
Success Rate