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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top