πŸ“Š PHP
Q. What will be the output?
Code:
for($i = 1; $i <= 3; $i++) {
  echo $i;
}
  • (A) 123
  • (B) 0123
  • (C) 321
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 123

Explanation: Loop runs from 1 to 3.

Explanation by: Roshan
Loop runs from 1 to 3.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
8 d ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
92%
Success Rate