1.

Which data type is used to represent the absence of parameters?(a) int(b) short(c) void(d) floatI got this question by my college professor while I was bunking the class.The query is from Types topic in section Types, Pointers, Arrays & Structures in C++ of C++

Answer»

Correct option is (C) VOID

The explanation is: Because void SPECIFIES an EMPTY set of values/parameters.



Discussion

No Comment Found

Related InterviewSolutions