12th Grade C Quizzes, Questions & Answers
Recent C Quizzes
This test assesses aptitude in programming, focusing on understanding and predicting outputs of C language code snippets, covering basic to intermediate concepts.
Questions: 30 | Attempts: 172 | 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);}
LOOPTRICS is a quiz designed to assess understanding of complex C programming concepts, focusing on loops and conditions. It tests the ability to predict outputs, enhancing problem-solving skills relevant for developers and...
Questions: 30 | Attempts: 798 | Last updated: Mar 22, 2025
-
Sample QuestionWhat will be output of following c code? #includeextern int x;int main(){ do{ do{ printf("%o",x); } while(!-2); } while(0); return 0;}int x=8;
Dive into the complexities of C programming with this challenging trivia! Test your understanding of file operations, string handling, and more. Perfect for enhancing programming skills and preparing for advanced C programming...
Questions: 10 | Attempts: 230 | Last updated: Oct 16, 2025
-
Sample QuestionIn a file contains the line "I am a boy\r\n" then on reading this line into the array str using fgets(). What will str contain?
Dive into the complexities of C programming with this challenging trivia quiz. Test your knowledge on file handling, pointer usage, and correct syntax in C. Perfect for advanced learners looking to sharpen their programming...
Questions: 10 | Attempts: 944 | Last updated: Mar 21, 2025
-
Sample QuestionIn a file contains the line "I am a boy\r\n" then on reading this line into the array str using fgets(). What will str contain?
This quiz assesses knowledge in C and C# programming, focusing on core topics like function usage, error identification, and handling specific programming scenarios. It's designed to enhance understanding of programming...
Questions: 25 | Attempts: 1059 | Last updated: Feb 17, 2025
-
Sample QuestionWhich of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?
This Data types Trivia quiz assesses understanding of C programming data types, focusing on variable declarations, pointer usage, and output predictions. It's ideal for learners enhancing their programming skills and...
Questions: 9 | Attempts: 170 | Last updated: Oct 1, 2025
-
Sample QuestionPredict the output of following program. Assume that the numbers are stored in 2's complement form. #include<stdio.h> int main() { unsigned int x = -1; int y = ~0; if(x == y) printf("same"); else printf("not same"); return 0; }
This quiz assesses knowledge in C programming, focusing on string handling, memory errors, and basic syntax.
Questions: 10 | Attempts: 57 | Last updated: May 22, 2025
-
Sample QuestionChar str[10] = "A quick brown fox jumped over a lazy dog";puts(str);what will print?
Quiz 5 covers fundamental concepts of functions and pointers in C programming, including pointer declaration, address storage, and variable passing methods.
Questions: 10 | Attempts: 287 | Last updated: Mar 22, 2025
-
Sample QuestionPointer is a special kind of a variable which is used to store _______ of a variable
Here is this C Programming Trivia Quiz. The trivia quiz below is made up of c programming coding questions! Programming in C is fairly easy because it uses basic commands in English; this language is one of the most commonly used...
Questions: 10 | Attempts: 2048 | Last updated: Sep 1, 2025
-
Sample QuestionPrint the output of this program void main() { int a, b, c, abc = 0; a = b = c = 40; if (c) { int abc; abc = a*b+c; } printf ("c = %d, abc = %d ", c, abc); }
Are you ready for this C Programming quiz? This quiz answers such questions as what the const feature can be applied to, the correct value to return to the operating system, what are not qualifiers in C, and the usual practice...
Questions: 10 | Attempts: 378 | Last updated: Oct 16, 2025
-
Sample QuestionWhat are not qualifiers in C?
Advertisement