Multiple choice

Which of the following statements is FALSE regarding functions in C?

  1. A function cannot return more than 1 value.

  2. It is a group of statements that performs a task.

  3. Functions cannot be defined by the user.

  4. The return statement is used to return a value from a function.

  5. A function can call any number of functions.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Although most of the programs can be made using inbuilt functions like printf(), scanf(), the user has the option of declaring his own functions. Such functions are known as user defined functions. The main objective of a user defined function is to save time and effort since,  a method can be called as many times as required.