Hi,
In C,C++ and Java, while using printf()/cout/System.out.prin t()... if we call a function which returns some value, no error is generated; but if we call void type function; it gives an error.
So, when it calls a function which returns some value; how does it accept it?
I mean there is no variable; meaning no memory location for the returning value to get stored..and its not just related to calling a function as void type...