McqMate
| Q. |
What’s wrong? for (int k = 2, k <=12, k++) |
| A. | the increment should always be ++k |
| B. | the variable must always be the letter i when using a for loop |
| C. | there should be a semicolon at the end of the statement |
| D. | the commas should be semicolons |
| Answer» B. the variable must always be the letter i when using a for loop | |
View all MCQs in
Object Oriented Programming In cpp