Skip to content

Category Archives: C Quiz

#include <stdio.h> // Assume base address of "GeeksQuiz" to be 1000 int main() {    printf(5 + "GeeksQuiz");    return 0; } (A) GeeksQuiz (B) Quiz (C)… Read More
#include <stdio.h> int main() {     int i;        i = 1, 2, 3;     printf("%d", i);          return 0; } (A)… Read More
#include <stdio.h> int main() {     int i = (1, 2, 3);          printf("%d", i);          return 0; } (A) 1… Read More
#include <stdio.h> int main() {     int i = 1, 2, 3;          printf("%d", i);          return 0; } (A) 1… Read More
#include "stdio.h" int main() { int x, y = 5, z = 5; x = y == z; printf("%d", x); getchar(); return 0; } (A)… Read More
#include <stdio.h>    int main()  {    printf(" \"GEEKS %% FOR %% GEEKS\"");    getchar();    return 0;  } (A) “GEEKS % FOR % GEEKS” (B) GEEKS %… Read More
Predict output of the following program  C #include <stdio.h> int main() {    printf("\new_c_question\by");    printf("geeksforgeeks");     getchar();    return 0; } (A) ew_c_questiongeeksforgeeks  (B) new_c_quesgeeksforgeeks  (C) geeksforgeeks  (D)… Read More
Predict the output of following program? #include "stdio.h" int main() {     char arr[100];     printf("%d", scanf("%s", arr));     /* Suppose that input value given         for above scanf… Read More

Start Your Coding Journey Now!