Vidyalelo
C++ Programming · Q19

Functions and Procedures in C++

Programming · C++ Programming · question 19

Q19

What is the purpose of the 'void' keyword in a function declaration in C++?

A.
Indicates that the function accepts no parameters
B.
Indicates that the function returns a void pointer
C.
Indicates that the function does not return a value
Answer
D.
Indicates that the function is a member function

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board