English

For ($ x=0; $ x<5; x++) echo “Hai” The above loop executes how many no of times?

Advertisements

Question

for ($ x=0; $ x<5; x++)
echo “Hai”
The above loop executes how many no of times?

Options

  • 5

  • 4

  • 3

  • 2

MCQ
Advertisements

Solution

5

shaalaa.com
Looping Structure
  Is there an error in this question or solution?
Chapter 7: Looping Structure - Evaluation - PART – I [Page 116]
Advertisements
Share
Notifications



      Forgot password?
Use app×