C Programming Function Multiple choice question

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

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

1) The default parameter passing mechanism is ?
A. Call by value
B. Call by reference
C. Call by value result
D. None of above

Answer:

Call by value

Option:

( A )


Explanation :

No explanations available for this question.


2) The order in which actual arguments are evaluated in function call
A. is from the left
B. is from the right
C. is compiler dependent
D. None of above

Answer:

is compiler dependent

Option:

( C )


Explanation :

No explanations available for this question.


3) Use of functions ?
A. Helps to avoid repeating a set of statements many times
B. Enhance the logical clarity of the program
C. Helps to avoid repeated programming across program
D. All of above

Answer:

All of above

Option:

( D )


Explanation :

No explanations available for this question.


4) Forward declaration is absolutely necessary?
A. if a function returns a non integer quantity
B. if the function call precedes its definition
C. if the function call precedes its definition and the function returns a non integer quantity
D. None of above

Answer:

if the function call precedes its definition and the function returns a non integer quantity

Option:

( C )


Explanation :

No explanations available for this question.


5) Any C program
A. Must contain at least one function
B. Need not contain any function
C. Needs input data
D. None of above

Answer:

Must contain at least one function

Option:

( A )


Explanation :

No explanations available for this question.