C Programming - C Functions Questions and Answers

Here we discuss the various concepts related to the Functions in C in multiple choice form.
1. The default parameter passing mechanism is ?
[A] Call by value
[B] Call by reference
[C] Call by value result
[D] None of above
Loading...
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
Loading...
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
Loading...
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
Loading...
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
Loading...
6. Call by reference is also known as ?
[A] Call by address or Call by location
[B] Call by address or Call by value
[C] Call by value or Call by name
[D] None of above
Loading...
Are these questions helpful for you?

C Functions Programs/Functions


Comments: (Your feedback is valuable to us)
KBC Questions and Answers