Functions – True / False Questions

1. A function cannot be defined inside another function

A. True
B. Fals

Correct Answer: A. True

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

A. True
B. False

Correct Answer: A. True

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

A. True
B. False

Correct Answer: A. True

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

A. True
B. False

Correct Answer: B. False

5. Functions can be called either by value or reference

A. True
B. False

Correct Answer: A. True

Leave A Comment?

3 × 4 =