C Programming Quizzes & Trivia

"Hello World!"... For programmers this is quite possibly their very first program. Are you a hardcore programmer? What did your first program execute? We have an "array" of quizzes about old school programming; that's C programming. How well versed are you with one of the most widely used programming languages of all time? Can you deal with some basic syntax and semantics? How about trying to guess what the output of a short C program will be?

Do you have any background on memory management? Before all those object oriented programs, there was the C programming language. It's back to basics when you take on our quizzes. What are you waiting for? Go and "printf" your answers now! We'll can "scanf" them and see how much you really know about the C programming language!

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...

Questions: 10  |  Attempts: 8324   |  Last updated: Mar 15, 2016
  • Sample Question
    C++ was originally developed by

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++...

Questions: 10  |  Attempts: 3800   |  Last updated: Feb 27, 2013
  • Sample Question
    “C” was primarily developed as a

Online MCQ Quiz on C/C++ Programming - Set 2 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++...

Questions: 10  |  Attempts: 3314   |  Last updated: Feb 27, 2013
  • Sample Question
    A constructor is called whenever

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++...

Questions: 10  |  Attempts: 2908   |  Last updated: May 28, 2013
  • Sample Question
    Which of the following function that must contain in all C++ programs?

C language is the first language that most programmers get introduced to programming. The quiz below is a sample test to show you the questions you would expect to get in your papers come exam time. Give it a try and all the...

Questions: 40  |  Attempts: 1390   |  Last updated: Nov 22, 2018
  • Sample Question
    Identify the loop construct:

C Programming Questions & Answers


What is the output of the following program? int getFirstDigit(int value) {   return value/10;}int getLastDigit(int value) {  return value % 10;} int main(int argc, char *argv[]) {    int...
C++ is a common type of computer programming language. C++ is known as a general-purpose object oriented programming language. It was developed by Bjarne Stroustrup as an extension of the already established C language. As an example of the language
What is the value of variable z when the following program segment ends? int z; for(z=0; z
The correct answer to this question is D, 50. This type of question would be found on a test dealing with computer programming, which is a process. This process involves the design and building of a computer program. The computer program that is buil
Is C really a hard programming language to learn?
The computer programming language C is not too difficult to learn and is in fact considered to be an “an extremely universal, portable and efficient language, and an excellent introduction to procedural programming.” Assuming you have no
What does Compilation error mean (in c programming language)?
A compiler error is an error that the C programming language (or any other programming language that uses a compiler program to generate an executable file) produces whenever its program detects an error during program compilation time. These types o
More