Advertisement
Advertisement
Advertisement

C Language Quizzes, Questions & Answers

Top Trending Quizzes


This engaging online quiz is designed for +1 Vocational Computer Science students at GSSS Badal, focusing on Programming in C. It tests fundamental concepts such as function structure, syntax, data types, and control statements,...

Questions: 10  |  Attempts: 87   |  Last updated: Mar 30, 2023
  • Sample Question
    How many main functions are in C program?
    Radio Button
    Radio Button
    Radio Button
    Radio Button

This quiz titled 'TroubleShoot Round 1 Set 3' covers various topics in C programming, including function recursion, data types, and conditional logic.

Questions: 20  |  Attempts: 148   |  Last updated: Aug 16, 2024
  • Sample Question
    What 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);     } }  
    Radio Button
    Radio Button
    Radio Button
    Radio Button

TROUBLE SHOOT Round-1 Set-1 is a programming quiz focused on C language. It assesses understanding of switch statements, loops, conditionals, and character manipulation. This quiz is ideal for learners aiming to enhance their...

Questions: 20  |  Attempts: 182   |  Last updated: Mar 5, 2023
  • Sample Question
    Int 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; }
    Radio Button
    Radio Button
    Radio Button
    Radio Button

Let's start this quiz it will give you the different functions of c language. Find out now how much do you know about it!

Questions: 25  |  Attempts: 164   |  Last updated: Mar 21, 2023
  • Sample Question
    What will be output if you will compile and execute the following c code? #include<stdio.h> int main(){   int array[3]={5};   int i;   for(i=0;i<=2;i++)     printf("%d ",array[i]);   return 0; }
    Radio Button
    Radio Button
    Radio Button
    Radio Button
    Radio Button

Do you think you know enough about security issues in C code? Can you think with the mind of a hacker? Test your knowledge with our interactive quiz! Check how much you know, share the results, and help your colleagues...

Questions: 10  |  Attempts: 701   |  Last updated: Mar 21, 2023
  • Sample Question
    This function is part of a program that is running on a 32-bit x86 system; the compiler does not change the order of variables on the stack.   void function(char *input) {     int i = 1;     char buffer[8];     int j = 2;     strcpy(buffer,input);     printf("%x %x %s\n",i,j,buffer); } What is the minimum length of a string – passed to the function through the input parameter – that can crash the application?
    Radio Button
    Radio Button
    Radio Button
    Radio Button
    Radio Button

Recent Quizzes

Advertisement