I started studying pointers and i am becoming confused...
When you have pointer and that pointer has adress of another variable you need to use * derefrencing operator to access the value that is stored at that adress,
how come you don't need * operator when using function pointers?
example with regular pointers
Code:
int i(10),c;
int *b = &i;
c = *b;
// Now c is equal to i
example with function pointers
Code:
int IncOne(int var) { 

return ++var; 

} 

int (*inc_one)(int) = &IncOne; 
result = inc_one(1); 
// now result is 2;
Is that right or am I missing something?
Following the pattern, wouldn't you expect that you have to use * operator to access
IncOne(int var) function?