C Programming Constant Multiple choice question

Exercise : - Multiple Choice Question On C Programming, MCQ C Programming Constant

This section contains a lot of c programming question and answer with explanation on the topic constant. These question and answer are very much helpful for interview(campus interviews, walkin interviews, company interviews), competitive examination ,entrance test and placements. Each question having answer and explanation that would help you to understand easily. These question are designed from basic to advance level. So anyone can learn from here (beginner, fresher, engineering graduate, an experienced IT professional).

All the question of c programming are listed below on constant along with detailed explanation / solution and answer.

1) Constants in C can be divided into categories ?
A. 3
B. 6
C. 2
D. 4

Answer:

2

Option:

( C )


Explanation :

No explanations available for this question.


2) _______not a primary constant.
A. Integer Constant
B. Real constant
C. Character constant
D. Enum constant

Answer:

Enum constant

Option:

( D )


Explanation :

No explanations available for this question.


3) ------not a secondry constant.
A. Character
B. Array
C. Pointer Structure
D. Union

Answer:

Character

Option:

( A )


Explanation :

No explanations available for this question.


4) We cannot use the way to declare the constant.
A. const int a = 1;
B. int const a = 1;
C. int constant a=1
D. none

Answer:

int constant a=1

Option:

( C )


Explanation :

No explanations available for this question.