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: 13903 | Last updated: Jun 17, 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: 3313 | Last updated: Jun 17, 2024
-
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: 2000 | Last updated: Jul 4, 2024
-
Sample QuestionWhat statement can print \n on screen?
Questions: 15 | Attempts: 351 | Last updated: Mar 21, 2023
-
Sample QuestionWhich of the following is not a valid variable name declaration?
.
Questions: 50 | Attempts: 1356 | 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; }
Recent Quizzes
Questions: 20 | Attempts: 259 | Last updated: Mar 21, 2023
-
Sample QuestionInput Devices.(Choose all correct answers)
.
Questions: 50 | Attempts: 389 | Last updated: Mar 21, 2023
-
Sample Question#include<stdio.h> main() { enum { abesit, abesec=4,akgec}; printf("%d %d", abesit, akgec); }
Questions: 20 | Attempts: 258 | 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: 181 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following is the default parameter passing method?
Questions: 24 | Attempts: 4323 | 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: 246 | 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: 771 | Last updated: Mar 21, 2023
-
Sample QuestionIdentify the loop construct:
Questions: 40 | Attempts: 370 | 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); } }
Are you confident in your C programming skills? Test your knowledge with our C Programming Skills Test. This quiz is structured to evaluate your understanding of C, covering fundamental to advanced programming elements. This test...
Questions: 10 | Attempts: 643 | Last updated: Aug 20, 2024
-
Sample QuestionWhat does the ++ operator perform?
Questions: 15 | Attempts: 215 | 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: 106 | Last updated: Mar 22, 2023
-
Sample QuestionC is a:
.
Questions: 15 | Attempts: 218 | 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: 370 | 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: 121 | 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: 106 | 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: 330 | 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: 290 | 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: 254 | Last updated: Mar 17, 2024
-
Sample QuestionC++ first appeared in which year?
.
Questions: 50 | Attempts: 790 | 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: 1683 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following converts a type to a long data type in C#?
Questions: 10 | Attempts: 227 | 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: 940 | 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: 15639 | Last updated: Jun 17, 2024
-
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: 12618 | Last updated: Aug 2, 2024
-
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: 7459 | Last updated: Mar 21, 2023
-
Sample Question“C” was primarily developed as a
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: 6937 | Last updated: Feb 19, 2024
-
Sample QuestionWhat is the output? for(int i=1; i<15; i=i+3) { out.print(i); }
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: 5990 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following function that must contain in all C++ programs?