Wiki User
∙ 2013-03-14 21:02:14A pointer to a function is the memory address that stores the address of a function, while the pointer itself is a function pointer.
A pointer to a function might be defined as "int (*pf)(int, int);", while to actually point to the function, you would use a function pointer, such as "pf = &func;".
Wiki User
∙ 2013-03-14 21:02:14Nothing, they are synonyms.
Pointer holds an address Array holds values
The former is variable, the latter is constant.
The difference that i learnt very recently and the one i remember :-)Reference cannot be changed whereas pointer value can be changed.Actually, const pointer = reference.
Nothing. You might have meant pointer-to-function.
There is no similarity between the two.
function pointer is a variable that hold the address of any function which declared in the program but function pointer is the array of the function that accept the run time size of the function.
Nothing, they are synonyms.
The mouse pointer is called a cursor
*function();this declares a pointer function!
Pointer holds an address Array holds values
The former is variable, the latter is constant.
1. pointer to a constant means you can not change what the pointer points to 2. constant pointer means you can not change the pointer.
difference between function and objectives?
Generic pointer of type 'void *' is compatible with any (data-)pointer, but you cannot use the following operators on it: + - ++ -- += -= * -> []
The difference that i learnt very recently and the one i remember :-)Reference cannot be changed whereas pointer value can be changed.Actually, const pointer = reference.
Nothing. You might have meant pointer-to-function.