C Programming Quizzes, Questions & Answers
Top Trending Quizzes
C++ is one of the common programming languages that most programmers are expected to have a good understanding of. Here is a C Plus Plus Programming Quiz For Beginners. Try this quiz and see if you can answer all the...
Questions: 38 | Attempts: 13010 | Last updated: Feb 7, 2024
-
Sample QuestionThe notation of logical NOT operator in a C++ program is
What do you know about C programming? C Programming Language is a strong and all-purpose procedural programming language that supports structured programming. It was developed in 1972 by Bell Telephone Laboratories to create...
Questions: 10 | Attempts: 2644 | Last updated: Mar 21, 2023
-
Sample QuestionC language has been developed by?
This quiz is the C Programming Hardest Test that programming students should try and tackle before they sit for their certification exams. Do you feel like you have what it takes to tackle it based on what you have learned...
Questions: 37 | Attempts: 1539 | Last updated: Feb 21, 2024
-
Sample QuestionWhat statement can print \n on screen?
.
Questions: 50 | Attempts: 1172 | Last updated: Mar 21, 2023
-
Sample QuestionPoint out the correct statements are correct about the program below? #include int main() { char ch; while(x=0;x<=255;x++) printf("ASCII value of %d character %c\n", x, x); return 0; }
C is an amazing language that is easy to grasp at the same time. Take this C Loops: For, While, Do While Quiz! Test yourself today with the help of these carefully designed questions and find out just how much you know...
Questions: 14 | Attempts: 6697 | Last updated: Feb 19, 2024
-
Sample QuestionWhat is the output? for(int i=1; i<15; i=i+3) { out.print(i); }
Recent Quizzes
Questions: 20 | Attempts: 241 | Last updated: Mar 21, 2023
-
Sample QuestionInput Devices.(Choose all correct answers)
Questions: 15 | Attempts: 192 | Last updated: Mar 21, 2023
-
Sample QuestionWhich of the following is not a valid variable name declaration?
.
Questions: 50 | Attempts: 353 | Last updated: Mar 21, 2023
-
Sample Question#include<stdio.h> main() { enum { abesit, abesec=4,akgec}; printf("%d %d", abesit, akgec); }
Questions: 20 | Attempts: 248 | Last updated: Mar 17, 2023
-
Sample QuestionWhat is the final value of x when the code int x; for(x=0; x<10; x++) {} is run?
Unit I : Functions
Questions: 25 | Attempts: 164 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following is the default parameter passing method?
Questions: 24 | Attempts: 4321 | Last updated: Feb 17, 2023
-
Sample QuestionA running man crosses a bridge of length 500 meters in 4 minutes. At what speed he is running?
What do you know about C language programming? There are so many different types of computer languages, and it can be a daunting task to know which is which. C language is a structure-oriented programming language, and it is...
Questions: 20 | Attempts: 220 | Last updated: Mar 21, 2023
-
Sample QuestionWhich of the following shows the correct hierarchy of arithmetic operations in C?
Do you understand C Programming? It is often a wellspring of confusion for those who are not as advanced with computers. The focus here is identifying a loop construct, storage class, what is in a switch statement, and when the...
Questions: 40 | Attempts: 740 | Last updated: Mar 21, 2023
-
Sample QuestionIdentify the loop construct:
Questions: 40 | Attempts: 342 | Last updated: Mar 21, 2023
-
Sample QuestionConsider the following pseudo-code. Assume that IntQueue is a class implementing an integer queue, enqueue() and dequeue() are member functions for inserting and deleting values to/from a queue object respectively. What does the function fun() do? void fun(int n) { IntQueue q; q.enqueue(0); q.enqueue(1); for (int i = 0; i < n; i++) { int a = q.dequeue(); int b = q.dequeue(); q.enqueue(b); q.enqueue(a + b); print(a); } }
.
Questions: 10 | Attempts: 505 | Last updated: Mar 20, 2024
-
Sample QuestionFind Error/Output in following code: How many times "Placement Question" will print. int main() { int x; for(x=-1; x<=10; x++) { if(x < 5) continue; else break; printf("Placement Question"); } return 0; }
Questions: 15 | Attempts: 213 | Last updated: Mar 21, 2023
-
Sample Question#include <stdio.h> int main() { int x = 10; int y = 20; x += y += 10; printf (" %d %d", x, y); return 0; }
Questions: 10 | Attempts: 104 | Last updated: Mar 22, 2023
-
Sample QuestionC is a:
.
Questions: 15 | Attempts: 210 | Last updated: Mar 22, 2023
-
Sample QuestionWhich of the following is not a valid variable name declaration in the C programming language?
.
Questions: 21 | Attempts: 363 | Last updated: Mar 22, 2023
-
Sample QuestionWhat will be output if you will compile and execute the following c code? #include<stdio.h> struct marks{ int p:3; int c:3; int m:2; }; int main(){ struct marks s={2,-6,5}; printf("%d %d %d",s.p,s.c,s.m); return 0; }
.Dear Learner,
This Assessment consists of questions to test your understanding on - C Programming
You may attempt the same and clarify doubts in WP Group ./ With your Faculty Member
Regards,
Team...
Questions: 20 | Attempts: 111 | Last updated: Feb 17, 2023
-
Sample QuestionPoint out the error, if any in the for loop #include int main() { int i=1; for(;;) { printf("%d\n", i++); if(i>10) break; } return 0; }
.Dear Learner,
This Assessment consists of questions to test your understanding on - C Programming
You may attempt the same and clarify doubts in WP Group ./ With your Faculty Member
Regards,
Team SHIVAM
Questions: 20 | Attempts: 105 | Last updated: Feb 17, 2023
-
Sample QuestionWhat is the output? main() { char val[] = {‘a’,’b’,’c’,’\n’,’c’,’\0’}; char *p, *val1, *val2; p = &val[3]; val1 = val; val2 = val; printf(“%d”, ++*p + ++*val1 – 32); }
.Dear Learner,
This Assessment consists of questions to test your understanding on - C Programming Basics
You may attempt the same and clarify doubts in WP Group ./ With your Faculty...
Questions: 20 | Attempts: 320 | Last updated: Feb 17, 2023
-
Sample QuestionWhat will be output if you will compile and execute the following c code? void main() { float a=5.2; if(a==5.2) printf("Equal"); else if(a
.Dear Learner,
This Assessment consists of questions to test your understanding on - Basics of C Programming Language
You may attempt the same and clarify doubts in WP Group ./ With your Faculty...
Questions: 20 | Attempts: 281 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following is a keyword used for a storage class?
Below is an entry-level exam that is perfect for anyone who is just starting to learn about the C programming language. This is a high-level programming language that experts use to create and develop sophisticated applications....
Questions: 10 | Attempts: 230 | Last updated: Mar 17, 2024
-
Sample QuestionC++ first appeared in which year?
.
Questions: 50 | Attempts: 674 | Last updated: Feb 6, 2024
-
Sample QuestionWhat will be the output of the program? #include #include int main() { float n=1.54; printf("%f, %f\n", ceil(n), floor(n)); return 0; }
Questions: 10 | Attempts: 1681 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following converts a type to a long data type in C#?
Questions: 10 | Attempts: 220 | Last updated: Nov 17, 2023
-
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?
Questions: 10 | Attempts: 923 | Last updated: Mar 22, 2023
-
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?
Advertisement
Popular Quizzes
Online MCQ Quiz on C/C++ Programming - Set 1 No. of Questions:- 10 Time:- 10 Minutes Full Mark:- 100 Pass Mark:- 70 This Quiz is for those user who wants to test their knowledge/skill in C/C++ Programming Language. for...
Questions: 10 | Attempts: 15496 | Last updated: Feb 17, 2023
-
Sample QuestionC++ was originally developed by
Play this amazing quiz that covers the questions related to introduction to C programming. whether you are a hardcore C programmer or just have started learning about it, playing this quiz will absolutely benefit you and...
Questions: 20 | Attempts: 12416 | Last updated: Apr 20, 2023
-
Sample QuestionA placeholder begins with the symbol _____.
Online MCQ Quiz on C/C++ Programming - Set 3
No. of Questions:- 10
Time:- 10 Minutes
Full Mark:- 100
Pass Mark:- 70
This Quiz is for those user who wants to test their knowledge/skill in C/C++ Programming...
Questions: 10 | Attempts: 7444 | Last updated: Mar 21, 2023
-
Sample Question“C” was primarily developed as a
Online MCQ Quiz on C/C++ Programming - Set 4 No. of Questions:- 10 Time:- 10 Minutes Full Mark:- 100 Pass Mark:- 70 This Quiz is for those user who wants to test their knowledge/skill in C/C++ Programming Language. for...
Questions: 10 | Attempts: 5980 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following function that must contain in all C++ programs?