InterviewSolution
Saved Bookmarks
| 1. |
What will be displayed in a browser when the following PHP code is executed:<?phpfor (Scounter = 20; $counter< 10;$counter++){echo “Welcome to Tamilnadu “;}echo “Counter is: Scounter”;?>(a) Welcome to Tamilnadu(b) Counter is: 20(c) Welcome to Tamilnadu Counter is: 22(d) Welcome to Tamilnadu Welcome to Tamilnadu Counter is: 22 |
|
Answer» (b) Counter is: 20 |
|