I came across this piece of code and completely got lost interpreting its meaning.
#include void (*signal(int sig, void (*func)(int)))(int);
Returning pointer to a function which takes an:
And takes an integer argument.