C loops and Conditional statements | Q - 10

Last Updated :
Discuss
Comments
C
#include <stdio.h>

int main()
{
    int i = 1024;
    for (; i; i >>= 1)
        printf("GeeksQuiz");
    return 0;
}

How many times will GeeksQuiz be printed in the above program?

10

11

Infinite

The program will show compile-time error

Tags:
Share your thoughts in the comments