Advertisement
Advertisement
12th Grade C Quizzes, Questions & Answers
Recent C Quizzes
Questions: 20 | Attempts: 182 | Last updated: Mar 5, 2025
-
Sample QuestionInt main() { int c=2; switch(c) { case 0: printf("CSE"); case 1: printf("Quest"); case 2: printf("Trouble"); case 3: printf("Shoot"); default: printf("2k19"); } return 0; }
Questions: 60 | Attempts: 204 | Last updated: Mar 19, 2025
-
Sample QuestionWhat is the meaning of the following declaration? int(*p[5])();
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: 109 | Last updated: Jul 12, 2025
-
Sample QuestionWhat is output: printf("%d" printf("hello") );
Questions: 20 | Attempts: 294 | Last updated: Feb 17, 2025
-
Sample QuestionWhich of the following is a keyword used for a storage class?
Questions: 30 | Attempts: 320 | Last updated: Mar 22, 2025
-
Sample QuestionThe return-type of “printf” is:
Questions: 20 | Attempts: 1313 | Last updated: Mar 16, 2025
-
Sample QuestionWhich of the following is not a valid variable name declaration?
Questions: 30 | Attempts: 449 | 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: 967 | 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;
Advertisement