Which of the following statement(s) is/are correct regarding void keyword in…
PYQ DSSSB 2021
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.
- A.
Only I
- B.
Only II
- C.
Both I and II
- D.
Neither I nor II
Attempted by 1182 students.
Sign up free to check your answer
Sign up freeLoading lesson…

