C Programming Quizzes, Questions & Answers
Recent Quizzes
Below is a C programming trivia quiz of format specifiers. According to our classes Format specifier is used during input and output. It is a way to tell the compiler what type of data is in a variable during taking input or...
Questions: 20 | Attempts: 302 | Last updated: Mar 22, 2023
-
Sample QuestionWhat is the proper syntax for do-while?
“C” is a computer programming language, which supports structured programming, recursion, and lexical variable scope. It first appeared in 1972 and variations of it are still used prominently today. What do you...
Questions: 10 | Attempts: 246 | Last updated: Mar 22, 2023
-
Sample Question)#include void call(int,int,int); int main(){ int a=10; call(a,a++,++a); return 0; } void call(int x,int y,int z){ printf("%d %d %d",x,y,z); }
C programming language is a robust language with a rich set of built in functions and operators that can be used to write any complex program. Take up the C programming basics- functions, array, loops etc. quiz below and get...
Questions: 10 | Attempts: 401 | Last updated: Feb 17, 2023
-
Sample QuestionTo declare a header file you use #include headerfile.h
Are you looking to test your skills when it comes to the C programming language? This is the most popular language when it comes to writing operating software due to its flexibility and easy to use. The name from this application...
Questions: 30 | Attempts: 104 | Last updated: Mar 19, 2023
-
Sample QuestionPoint out the correct statements are correct about the program below? #include<stdio.h> int main() { char ch; while(x=0;x<=255;x++) printf("ASCII value of %d character %c\n", x, x); return 0; }
Basics of C Language
Questions: 20 | Attempts: 192 | Last updated: Feb 17, 2023
-
Sample Question1.What will be output if you will execute following c code? #include intmain(){ inti; for(i=0;i<5;i++){ inti=10; printf(" %d",i); i++; } return0; }
Questions: 10 | Attempts: 1736 | Last updated: Mar 21, 2023
-
Sample Question#include<stdio.h> void main() { struct emp { char name[20]; int age; float sal; }; struct emp e={"Tiger"}; printf("\n %d %f",e.age,e.sal); }
Questions: 15 | Attempts: 1134 | Last updated: Mar 16, 2023
-
Sample QuestionIf a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable?
You have probably heard that every journey starts with one footstep and if you are on the journey to become a programmer you need to ensure that your game is on point. Take up the quiz on basic fundamentals of C programming...
Questions: 5 | Attempts: 283 | Last updated: Mar 17, 2023
-
Sample QuestionWhich type of language is C?
In order to learn how to use and write functrions in C++ we must fist start by knowing some of the words.
This quiz provides you with a different way of learning the terms so that you can read the questions that you...
Questions: 19 | Attempts: 5015 | Last updated: Aug 10, 2024
-
Sample QuestionIn the following declaration, what is the return type?int myMethod(int count, double value) { return 4;}
Did you know that the C programming language is a general procedural computer programming language supporting structured programming? It has discovered maximum use in applications that were formerly encoded in assembly language....
Questions: 10 | Attempts: 248 | Last updated: Oct 21, 2024
-
Sample Questionmain() { char *ptr1 = “abcdef”; ptr1 = ptr1 + (strlen(ptr1)-1); printf(“%c”,--*ptr1--); printf(“%c”,--*--ptr1); printf(“%c”,--*(ptr1--)); printf(“%c”,--*(--ptr1)); printf(“%c”,*ptr1); }
Advertisement