Doubts in c

S

santoshschool

Hi, I am new this group. This group helped me a lot in knowing many
things. Can anybody explain me the difference between "Pointer to
Function" and "Function Pointer". Whether these two mean the
same.Wating for ur reply guys.
 
T

Tydr Schnubbis

Hi, I am new this group. This group helped me a lot in knowing many
things. Can anybody explain me the difference between "Pointer to
Function" and "Function Pointer". Whether these two mean the
same.Wating for ur reply guys.
It's the same thing. Do you have a specific reason to ask?
 
R

Richard Heathfield

(e-mail address removed) said:
Hi, I am new this group. This group helped me a lot in knowing many
things. Can anybody explain me the difference between "Pointer to
Function" and "Function Pointer". Whether these two mean the
same.Wating for ur reply guys.

This came up recently, but hey, it's Christmas, so here's the answer again.

A pointer to function is a value which, if dereferenced, calls the function
pointed to.

A function pointer is either an indeterminate value, a null value, or a
pointer to function.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top