
C programming language MCQs - basics
In the C programming language basics MCQs, we are covering the most important basic questions for beginner students. These Basic MCQs involves very basic topics such as Character Set, Alphabets, Digits, Special Symbols, Constants, Variables, Keywords, Instructions, and Construction Rule.
1. In programming, A character denotes any Alphabet, digit, or _____ ?
A. Constant
B. Special Symbol
C. Variable
D. Keyword
View Answer
2. Where C language was developed ?
A. AT & T’s Bell Laboratories
B. Sun Microsystems
C. Netscape
View Answer
3. In which year C programming language was developed?
A. 1992
B. 1982
C. 1972
View Answer
4. What is constant in programming?
A. an entity that may change
B. an entity that does not have value
C. an entity that does not change
View Answer
5. What is variable in programming?
A. an entity that may change
B. an entity that does not have value
C. an entity that does not change
View Answer
6. How many types of constant in the C programming language?
A. 3 types
B. 2 types
C. 4 types
View Answer
7. Which is the type not in Primary Constants?
A. Array
B. Integer
C. Real
D. Character
View Answer
8. Which is the type not in Secondary Constants?
A. Array
B. Pointer
C. Integer
D. Structure
View Answer
9. Which is the right Rule for constructing an Integer constant?
A. It must have a decimal point
B. It can be only positive
C. An integer constant must have at least one digit
View Answer
10. Which is not the right Rule for constructing an Integer constant?
A. An integer constant must have at least one digit
B. It must not have a decimal point
C. It can be either positive or negative
D. Commas or blanks are allowed within an integer constant
View Answer