Which of the following statement(s) is/are correct regarding void keyword in C++?

I. To specify the return type of a function when it is not returning any value.

II. To indicate an empty argument list to a function.

1
Only I
2
Both I and II
3
Only II
4
Neither I nor II

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation