A void function does not return any value as output and can take input values. The function below seems a void function, but there is the operator *, why?
void *function(){
     printf("hello")
}
A void function does not return any value as output and can take input values. The function below seems a void function, but there is the operator *, why?
void *function(){
     printf("hello")
}
That is not a void function. That is a function that returns a void* (pointer). But it seems incomplete, because the printf() has no semicolon ; and the function does not actually return a void*.