GoConqr has a new look! Let us know what you think.

Quiz

FOR Loop

Mohit Kaushik 2 questions

Take the quiz

Questions in this quiz (2)

  1. 1What is the output of the program? int i=1; for( ;i<=10;i++); System.out.print(i);
    1. A1
    2. B10
    3. C11
    4. Dcompile time error
  2. 2What is the output of program?
    int i=0;
    for(;i<10;i++)
    System.out.print(i);
    1. A11
    2. B10
    3. C0
    4. D0123456789

Information

Description
for loop quiz
Language
English
Views
37
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?