C Programming Variable Multiple choice question

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

This section contains a lot of c programming question and answer with explanation on the topic variable. 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 variable along with detailed explanation / solution and answer.

1) During Second Run , Address of Variable may change.
A. False
B. True

Answer:

True

Option:

( B )


Explanation :

No explanations available for this question.


2) Local Variable is having _______ scope ?
A. inter program
B. local
C. global
D. only inside current Program

Answer:

local

Option:

( B )


Explanation :

No explanations available for this question.


3) Higher priority is given to ________ variable than _______ variable.
A. Global , Local
B. Local, Global
C. Same
D. None of above

Answer:

Global , Local

Option:

( A )


Explanation :

No explanations available for this question.


4) To store a character declare a variable of the type "char".
A. true
B. false

Answer:

true

Option:

( A )


Explanation :

No explanations available for this question.


5) To store a word/sentence declare a variable of the type string.
A. true
B. false

Answer:

false

Option:

( B )


Explanation :

There is no such data type called âstringâ in C language.