Skip to content

Tag Archives: Loops & Control Structure

#include <stdio.h> int main() {     int i = 3;     switch (i)     {         case 0+1: printf("Geeks");                 break;         case 1+2: printf("Quiz");                 break;         default: printf("GeeksQuiz");     }     return 0;… Read More
What is the output of the below program? #include <stdio.h> int main() {     int i = 0;     switch (i)     {         case '0': printf("Geeks");                 break;         case… Read More
#include <stdio.h> #define PRINT(i, limit) do \                         { \                             if (i++ < limit) \                             { \                                 printf("GeeksQuiz\n"); \                                 continue; \                             } \                         }while(0)    int… Read More
#include <stdio.h>    int main() {     int i = 1024;     for (; i; i >>= 1)         printf("GeeksQuiz");     return 0; } How many times will GeeksQuiz… Read More

Start Your Coding Journey Now!