C Programming - Functions - Discussion

Discussion Forum : Functions - Yes / No Questions (Q.No. 2)
2.
Every function must return a value
Yes
No
Answer: Option
Explanation:

No, If a function return type is declared as void it cannot return any value.

Discussion:
1 comments Page 1 of 1.

Sanjeev said:   1 decade ago
Void means NULL. So it return null value. The functions like constructor in c++ doesn't return even null. So, that function is said to return nothing. According to me your answer is wrong.

Post your comments here:

Your comments will be displayed after verification.