C Programming Quizzes, Questions & Answers
Recent Quizzes
Questions: 25 | Attempts: 1051 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?
Questions: 25 | Attempts: 1168 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following is not a valid variable name declaration?
C# exam as preparation for deal with the real C# exam that conducted by our beloved customer.
Prepared by: R&D Dept.
Questions: 25 | Attempts: 362 | Last updated: Feb 14, 2024
-
Sample QuestionWhat will be the output of the C#.NET code snippet given below?int a = 10, b = 20, c = 30; int res = a < b ? a < c ? c : a : b; Console.WriteLine(res);
.
Questions: 50 | Attempts: 1690 | Last updated: Mar 22, 2023
-
Sample QuestionHow would you copy the name “Hello” to a character array (i.e. string) declared as char str[10];
C++ is a programming tool widely used today. If you are a programmer and you are looking for ways to better yourself in this field, then this quiz will do just that. All the best as you attempt the quiz.
Questions: 22 | Attempts: 471 | Last updated: Feb 17, 2023
-
Sample QuestionA void function can return any value true or false?
Quiz over Arrays in C++
Questions: 29 | Attempts: 4262 | Last updated: Mar 8, 2024
-
Sample QuestionThe locations of the various indexed variables in an array can be spread out all over the memory.
Here is this C Programming Trivia Quiz. The trivia quiz below is made up of c programming coding questions! Programming in C is fairly easy because it uses basic commands in English; this language is one of the most commonly used...
Questions: 10 | Attempts: 2038 | Last updated: Sep 1, 2023
-
Sample QuestionPrint the output of this program void main() { int a, b, c, abc = 0; a = b = c = 40; if (c) { int abc; abc = a*b+c; } printf ("c = %d, abc = %d ", c, abc); }
Questions: 10 | Attempts: 928 | Last updated: Mar 18, 2023
-
Sample QuestionWhat will be the output of the following program? #include<stdio.h> int main() { char numbers[5][6] = {"Zero","One","Two","Three","Four"}; printf("%s is %c",&numbers[4][0],numbers[0][0]); return 0; }
Questions: 17 | Attempts: 708 | Last updated: Feb 17, 2023
-
Sample QuestionWhat is the output of the following program fragment? cout << static_cast<double>(3)/4 << endl;
.
Questions: 17 | Attempts: 1179 | Last updated: Mar 22, 2023
-
Sample QuestionWhich of the following is not a valid identifier?
C++ is a general purpose programming language with imperative, object oriented and generic programming features. If you just started on this language and wish to get some practice material to test your understanding, take up...
Questions: 18 | Attempts: 566 | Last updated: Feb 17, 2023
-
Sample QuestionWho was the programmer for Charles Babbage’s analytical engine?
Are you ready for this C Programming quiz? This quiz answers such questions as what the const feature can be applied to, the correct value to return to the operating system, what are not qualifiers in C, and the usual practice...
Questions: 10 | Attempts: 375 | Last updated: Nov 17, 2023
-
Sample QuestionWhat are not qualifiers in C?
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: 5991 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following function that must contain in all C++ programs?
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: 7461 | Last updated: Mar 21, 2023
-
Sample Question“C” was primarily developed as a
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: 3496 | Last updated: Jun 17, 2024
-
Sample QuestionC language has been developed by?
C++ Final Quiz
Questions: 10 | Attempts: 297 | Last updated: Feb 17, 2023
-
Sample QuestionWhat is the output of the following code class base{ public : virtual void func1()=0; void func2() { cout<<"\n In base, function2"; } }; //end of class class derived : public base{ public : void fun3() { cout<<"\n In derived , function3"; } };//end of class int main(){ derived d; d.fun3(); return 0; }
ILP C++ Quiz
Questions: 33 | Attempts: 102 | Last updated: Feb 17, 2023
-
Sample QuestionWhat is the output of the following snippet? int a=0101; int b=101; cout<<a<<” , ”<<b;
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: 15663 | Last updated: Jun 17, 2024
-
Sample QuestionC++ was originally developed by
C programming is one of the most popular programming languages, and over the week we got to cover much about C programming structure and pointers. Do you recall that a pointer is a variable which points to the address of another...
Questions: 15 | Attempts: 764 | Last updated: Feb 21, 2024
-
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?
Do you think you are an expert with C Programming Language? This quiz highlights specific pertinent questions such as the maximum value of an integer constant when C Language was created, what is permitted in C arithmetic...
Questions: 40 | Attempts: 1607 | Last updated: Mar 22, 2023
-
Sample QuestionThe Expression, A=30*1000+2768 evaluates to ________________.
This quiz provides you the basic multiple choice questions on C constants.
Questions: 10 | Attempts: 706 | Last updated: Feb 17, 2023
-
Sample QuestionCharacter Set of C language contains ?
This quiz provides you the multiple choice questions of C language
Questions: 10 | Attempts: 1910 | Last updated: Mar 20, 2023
-
Sample QuestionC language was developed by ?
Are you a computer programmer looking for a way to refresh what you know when it comes to the output of C programs? If you said yes, then you are in luck as the quiz is prepared to help you do just that. Give it a try and see if...
Questions: 10 | Attempts: 335 | Last updated: Sep 30, 2024
-
Sample QuestionWhat is the final value of x when the code int x; for(x=0; x<10; x++) {} is run?
Questions: 10 | Attempts: 444 | Last updated: Mar 20, 2023
-
Sample QuestionWhat will be output if you will compile and execute the following c code? #include int main(){ int a=sizeof(a); a=modify(a); printf("%d",a); return 0; }What will be output if you will compile and execute the following c code? #include int main(){ int a=sizeof(a); a=modify(a); printf("%d",a); return 0; } int modify(int x){ int y=3; _AX=x+y; return; }
C++ language was developed in 1979 and it is a sophisticated general purpose programming language based on C. if you are a starter at this language, then the quiz below is perfect for you, if you consider chapter one to three...
Questions: 26 | Attempts: 163 | Last updated: Feb 17, 2023
-
Sample QuestionIf the following are valid identifiers, check valid, otherwise check invalid, return
Advertisement