Top "Void" questions

An incomplete type used as syntactic place-holder for the return type of a method/function when no value is returned.

java.lang.Void vs void vs Null

What exactly is the difference between Void, void, and can I just use null instead? I'm asking this is because …

java android null void
is f(void) deprecated in modern C and C++

I'm currently refactoring/tidying up some old C code used in a C++ project, and regularly see functions such as: …

c++ c refactoring void
void* is literally float, how to cast?

So I'm using this C library in my C++ app, and one of the functions returns a void*. Now I'm …

c++ c casting void void-pointers
stubbing methods that manipulates parameters with mockito

I have the following situation: class Worker { public Integer somework() { Integer k=0; Helper h= new Helper(); h.change(k); return …

java unit-testing methods mockito void
Callable<Void> as Functional Interface with lambdas

I am just learning about new java8 features. And here is my question: Why is it not allowed to use …

java lambda java-8 void callable
Why does C# not allow me to call a void method as part of the return statement?

I am curious if there is a legitimate reason as to why C# does not support calling a void method …

c# void
JavaScript `undefined` vs `void 0`

What exactly is the difference between undefined and void 0 ? Which is preferred and why?

javascript undefined void
What is System.Void?

I know that methods declared with void does not return anything. But it seems that in C#, void is more …

c# .net void
Pointer to void in C++?

I'm reading some code in the Ogre3D implementation and I can't understand what a void * type variable means. What …

c++ pointers void void-pointers