Advertisement
Advertisement
C Quizzes, Questions & Answers
Recent C Quizzes
Questions: 50 | Attempts: 131 | Last updated: Apr 22, 2025
-
Sample QuestionIdentify the loop construct:
Questions: 40 | Attempts: 790 | Last updated: Mar 21, 2025
-
Sample QuestionIdentify the loop construct:
Questions: 54 | Attempts: 96 | Last updated: Oct 14, 2025
-
Sample QuestionWhich of the following is not a pointer declaration?
Questions: 20 | Attempts: 149 | Last updated: Aug 16, 2025
-
Sample QuestionWhat is the output of the following code? #include<stdio.h> main() { int n,i; n=f(6); printf("%d",n); } f(int x) { if(x==2) return 2; else { printf("+"); f(x-1); } }
Questions: 37 | Attempts: 2734 | Last updated: Jul 4, 2025
-
Sample QuestionWhat statement can print \n on screen?
Questions: 20 | Attempts: 183 | 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: 206 | 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: 112 | Last updated: Jul 12, 2025
-
Sample QuestionWhat is output: printf("%d" printf("hello") );
Advertisement