What does void mean in C, C++, and C#?
Basically it means “nothing” or “no type” There are 3 basic ways that void is used: Function argument: int myFunc(void) — the function takes nothing. Function return value: void myFunc(int) — the function returns nothing Generic data pointer: void* data — ‘data’ is a pointer to data of unknown type, and cannot be dereferenced Note: … Read more