By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,403 Members | 932 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,403 IT Pros & Developers. It's quick & easy.

Doubts in c

P: n/a
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.
Dec 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
sa***********@rediffmail.com wrote:
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?
Dec 21 '05 #2

P: n/a
sa***********@rediffmail.com 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.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Dec 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.