I don't understand this pointer declaration,
could anybody explain it to me.
I search on the internet but find nothing.
char(*)(int)
This is a type of a function pointer. This function returns a char, and takes one int as an argument.
pointer to a function.
The function takes an int parameter and returns a char
Note: the pointer is unamed.