Exactly two parentheses and an asterisk.
Both function calls fun points to, and both do it the same way.
However, visually, (*fun) makes it clear that fun is not in itself, and the dereference operator is a visual signal, which is some kind of pointer.
The syntax without parentheses, fun() , is the same as a regular function call, and therefore visually equates to one that makes it primarily clear that you are calling some kind of function. A context or search is required to notice that it is a pointer to a function.
Itβs just a difference in style as far as this happens.
source share