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: 300 | 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: 238 | 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: 1132 | 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: 4988 | 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: 245 | 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); }
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: 14531 | Last updated: Jun 17, 2024
-
Sample QuestionThe notation of logical NOT operator in a C++ program is
Objective-C Quiz: Categories and Protocols
Questions: 11 | Attempts: 1622 | Last updated: Feb 20, 2023
-
Sample QuestionA category can be used to add new instance variables to a class.
Chapter 2 Quiz/Review Sheet/Test Whatever.
From Hanna to Jono
Questions: 15 | Attempts: 549 | Last updated: Mar 22, 2023
-
Sample QuestionHow many bits are there in a byte?
C++ supports the four primary features of OOP, which means it supports deterministic destructors for classes unlike other OOP languages. The quiz below contains 10 questions from C++ chapter 3. Give it a shot and see how...
Questions: 10 | Attempts: 263 | Last updated: Feb 20, 2023
-
Sample QuestionCan you use the += operator to concatenate strings?
This is the second Quiz.
Questions: 11 | Attempts: 1450 | Last updated: Feb 20, 2023
-
Sample QuestionThe body of a while loop may never get executed.
Tests on C++ data structure concepts such as arrays and vectors
Complete CH 7 theory.
PASS >= 70
62 questions
No time limit
Questions: 59 | Attempts: 791 | Last updated: Feb 20, 2023
-
Sample QuestionAn array is a ....
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: 12821 | Last updated: Jan 13, 2025
-
Sample QuestionA placeholder begins with the symbol _____.
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: 3947 | Last updated: Mar 22, 2023
-
Sample QuestionIdentify the loop construct:
This is a fundamental C test
Questions: 40 | Attempts: 1690 | Last updated: Aug 19, 2023
-
Sample QuestionWhat type of errors are checked during compilation
This quiz is based on what we have covered so far. It also includes what was discussed on Monday class. Remember that you can take the quiz TWO times at most.
Questions: 25 | Attempts: 349 | Last updated: Feb 20, 2023
-
Sample QuestionNumber 1 is a legal name for variables in C language.
As you aim at getting the certification for computer operation there is need to be on your toes before the exam is due. Take up the quiz below and see what you need to polish up to get your practicing ticket. All the best and...
Questions: 71 | Attempts: 769 | Last updated: Mar 18, 2023
-
Sample QuestionThis feature prevents multiple threads from simultaneously modifying the state of the resource , by including various classes and data types.
*Please be reminded: when you answer the fill-in-the-blanks questions, do not use excessive/redundant -blanks- ,e.g.
enter:- if(a>b) ,
not if(a...
Questions: 12 | Attempts: 696 | Last updated: Feb 20, 2023
-
Sample QuestionA file (name.txt) containing a list of your classmates reads as below (ALL names follow immediately with a 'new line' character):What would be the output to the screen on running the code below:#include <stdio.h>main(){ char str1[20] = "Hello, boys"; char str2[100] = "God created the world in 7 days."; FILE *fp; fp=fopen("name.txt","r"); if (fp==NULL){ printf("Cant open !\n"); exit(1); } fgets(str1,12,fp); fgets(&str2[12],10,fp); printf("%s",str2); fclose(fp);}
C# is here Variable of reference type store the memory address of other variables in a Stack.
Questions: 65 | Attempts: 1999 | Last updated: Feb 20, 2023
-
Sample QuestionVariables of this data types store actual values.This value stored in a stack.
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: 7133 | Last updated: Feb 19, 2024
-
Sample QuestionWhat is the output? for(int i=1; i<15; i=i+3) { out.print(i); }
« Previous123Next »
Advertisement