Advertisement
Advertisement
9th Grade C Quizzes, Questions & Answers
Recent C Quizzes
Questions: 10 | Attempts: 835 | Last updated: Aug 20, 2025
-
Sample QuestionWhat does the ++ operator perform?
Questions: 10 | Attempts: 128 | Last updated: Mar 22, 2025
-
Sample QuestionWhat is the output of this piece of code? #include <stdio.h> void main() { int i; for(i=0;i<10;i++) printf(“%d ”,i); }
Questions: 16 | Attempts: 112 | Last updated: Jul 12, 2025
-
Sample QuestionWhat is output: printf("%d" printf("hello") );
Questions: 30 | Attempts: 331 | Last updated: Mar 22, 2025
-
Sample QuestionThe return-type of “printf” is:
Questions: 30 | Attempts: 450 | Last updated: Mar 18, 2025
-
Sample QuestionWhat will happen if the below program is executed? #include int main() { int main =3; printf("%d", main); return 0; }
Questions: 10 | Attempts: 970 | Last updated: Mar 21, 2025
-
Sample QuestionWhat is the value of z after executing this sequence (check indentation)? int x = 100, y = 50, z = -1; if ( x + y > 50) if ( x + y < 100) z = 0; else z = 1;
Questions: 10 | Attempts: 265 | Last updated: Mar 17, 2025
-
Sample QuestionC++ first appeared in which year?
Questions: 30 | Attempts: 154 | Last updated: Mar 17, 2025
-
Sample QuestionWhat is the correct value to return to the operating system upon successful completion of a program in c?
Questions: 20 | Attempts: 727 | Last updated: Mar 22, 2025
-
Sample QuestionWhat is the output of the below code snippet?#include<stdio.h> main(){ int a = 5, b = 3, c = 4; printf("a = %d, b = %d\n", a, b, c);}
Questions: 30 | Attempts: 177 | Last updated: Mar 21, 2025
-
Sample QuestionWhat will be the Output of the following program ? void main(){ const char var='A'; ++var; printf("%c",var);}
Advertisement