C LANGUAGE MCQ |
Here you will find C programming Multiple choice questions, These MCQ on C language or very helpful for your test. 1000 + MCQ of C language, these are very help full for Computer instructor, College Students , Computer and Software Engineers, in Competitive exams and Interviews, these frequently asked questions and most repeated in C programming exam, We add this post for you to practice, we will keep adding more question related C programming MCQ, you can Also download C language MCQ from here.
Why we should Practice C language MCQ?
the answer is simple C language is
still the popular programming language and is favorite topics to test the
knowledge of a candidate on Programming Concepts.
1. Who developed C languages?
- Ken Thomson
- Peter Norton
- Von Neuman
- Dennis Ritchie
ANSWER= Dennis Ritchie
Explanation/Answer:
2. How many times rbatec.blogspot.com is printed? int main() { while(1) { printf("rbatec.blogspot.com"); } return 0; }
- 1 time
- Compilation Error
- Infinite times
- Runtime Error
ANSWER= Infinite Times
Explanation/Answer:
3. When C Language was invented? }
4. All keywords in C are in? }
- LowerCase letters
- Upper,Case letters
- CamelCase letters
- None of the mentioned
ANSWER= LowerCase letters
Explanation/Answer:
5. Which is valid C expression?}
-
a) int my_num = 100,000;
b) int my num = 1000
c) int my_num = 100000;
d) int $my_num = 10000;
ANSWER= c
Explanation/Answer: Space, comma and $ cannot be used in a variable name.
6. C Programs are converted into machine language with the help of
-
a) An Editor
b) A Compiler
c) An Operating System
d) Non of these
ANSWER= Compiler
Explanation/Answer:
7. C language was Primarily Developed AS
-
a) System Programming Langauge
b) Data Processing Language
c) General Purpose Language
d) Non of these
ANSWER= System Programming Language
Explanation/Answer:
8. What is the meaning of below lines? void sum (int, int);
-
a) sum is function which takes int arguments
b) it will produce compilation error
c) sum is a function which takes two int arguments and returns void
d) Non of these
ANSWER= sum is a function which takes two int arguments and returns void
Explanation/Answer:
9. The concept of two functions with same name is know as?
-
a) Operator Overloading
b) Function Overloading
c) Function Overriding
d) Function renaming
ANSWER= Function Overloading
Explanation/Answer:
10. The Output Of the following Program will be? [AJK PSC COMPUTER INSTRUCTOR 2016 Paper]
#include<studio.h>Int main(){
Int k;
K=(1,2,3,4,5,6 );
Printf(“%d\n”,k);
Return 0;
}
-
a) 1,2,3,4,5,6
b) 0
c) 5
d) {1,2,3,4,5,6}
ANSWER= 1,2,3,4,5,6
Explanation/Answer:
11. An Uninitialized Pointer in C is called ? [AJK PSC COMPUTER INSTRUCTOR 2016 Paper]
-
a) Constructor
b) Pointer
c) Dangling Pointer
d) Destructor
ANSWER= Destructor: An Uninitialized Pointer in C
Explanation/Answer:
12. C is ___________ Type of Programming Language?[AJK PSC COMPUTER INSTRUCTOR 2016 Paper]
-
a) OB Object Oriented
b) Functional
c) Bit Level Language
d) Procedural
ANSWER= Procedural
Explanation/Answer: C programming is a procedural language. It is written in a number of steps using-statements and functions. Logic is clearly depicted in the program. Procedural language is also called Imperative Language. Examples are BASIC etc.
Post a Comment