Hello, this wierd question just came to my mind.
Why isnt it possible to call a function which takes no arguments with a function call as argument which does not return any value (which imho is equivalent to calling a function which takes no arguments with no arguments).
f.e.
void foo(void) {...}
void bar(void) {...}
foo(bar())
Dont get me wrong, i know void is not a value and that it can not be treated like one.
With my logic it would make sense and it should be possible to do that. I mean, why not? Any argument why that should not be possible?
Let me hear your opinions about this.