Home
MCQs
C programming language MCQs
basics
C programming language MCQs

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

Answer: B

2. Where C language was developed ?

A. AT & T’s Bell Laboratories

B. Sun Microsystems

C. Netscape

Answer: A

3. In which year C programming language was developed?

A. 1992

B. 1982

C. 1972

Answer: C

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

Answer: C

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

Answer: A

6. How many types of constant in the C programming language?

A. 3 types

B. 2 types

C. 4 types

Answer: B

7. Which is the type not in Primary Constants?

A. Array

B. Integer

C. Real

D. Character

Answer: A

8. Which is the type not in Secondary Constants?

A. Array

B. Pointer

C. Integer

D. Structure

Answer: C

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

Answer: C

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

Answer: D