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

πŸ‘οΈ
27
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
94%
Success Rate