Question 1
Predict the output of the below program:
#include <stdio.h>
int main()
{
printf(\"%c \", 5[\"GeeksQuiz\"]);
return 0;
}
Question 2
#include <stdio.h>
int main()
{
printf(\"%c \", \"GeeksQuiz\"[5]);
return 0;
}
Question 4
#include<stdio.h>
int main()
{
char *s = \"Geeks Quiz\";
int n = 7;
printf(\"%.*s\", n, s);
return 0;
}
Question 5
#include <stdio.h>
int main(void)
{
int x = printf(\"GeeksQuiz\");
printf(\"%d\", x);
return 0;
}
Question 6
#include<stdio.h>
int main()
{
printf(\"%d\", printf(\"%d\", 1234));
return 0;
}
Question 8
Question 9
#include \"stdio.h\"
int foo(int a)
{
printf(\"%d\",a);
return 0;
}
int main()
{
foo;
return 0;
}
Question 10
There are 37 questions to complete.