Functions – True / False Questions

1. A function cannot be defined inside another function

A. True
B. Fals

Correct Answer: A. True
Advertisement

2. Functions cannot return more than one value at a time

A. True
B. False

Correct Answer: A. True
Advertisement

3. If return type for a function is not specified, it defaults to int

A. True
B. False

Correct Answer: A. True
Advertisement

4. In C all functions except main() can be called recursively.

A. True
B. False

Correct Answer: B. False
Advertisement

5. Functions can be called either by value or reference

A. True
B. False

Correct Answer: A. True
Advertisement

Leave A Comment?