Skip to content

Tag Archives: Input and Output

Predict the output of below program: #include <stdio.h> int main() {     printf("%c ", "GeeksQuiz"[5]);     return 0; } (A) Compile-time error (B) Runtime error (C) Q… Read More
Predict the output of the below program: C #include <stdio.h>   int main() {     printf(\"%c \", 5[\"GeeksQuiz\"]);     return 0; } (A) Compile-time error (B) Runtime… Read More
C #include <stdio.h> // Assume base address of \"GeeksQuiz\" to be 1000 int main() {    printf(5 + \"GeeksQuiz\");    return 0; } (A) GeeksQuiz  (B) Quiz … 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\b\r");    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!