[Solved] What is the difference between “void function()” and “void *function()”?
To repeat the answers you had in the comments already, the difference is the type returned void foo() { … } Is a function that returns nothing, while void *bar() { … } void* bar() { … } // Identical Return a void pointer. Swapping the space position before or after the * makes no … Read more