Sail E0 Webinar
Question
What's wrong in the following statement, provided k is a variable of type int?
for(k = 2, k
Options:
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 variable k can’t be initialized.
E .  The commas should be semicolons.
Answer: Option E

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers