S
su
I found in old code that when calling a void function:
void
foo() {
......
}
....
(void) foo();
I wonder why (void) is used to typecast the function.
Is there any historical reason?
Any reply from you will be appreciated.
void
foo() {
......
}
....
(void) foo();
I wonder why (void) is used to typecast the function.
Is there any historical reason?
Any reply from you will be appreciated.