Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

C Programming Language

pointers?


What is exactly diffrence between function to pointer and pointer to
function?

Shraddha <shraddhajosh@gmail.com> writes:
> What is exactly diffrence between function to pointer and pointer to
> function?

A pointer to a function can be called using the () operator.
There is no such thing as a function to a pointer; it is not a
meaningful phrase.
--
Comp-sci PhD expected before end of 2007
Seeking industrial or academic position *outside California* in 2008
In article <1180240685.495120.94@z28g2000prd.googlegroups.com>,

Shraddha  <shraddhajosh@gmail.com> wrote:
>What is exactly diffrence between function to pointer and pointer to
>function?

"function to pointer" is not a term used in C.
--
  If you lie to the compiler, it will get its revenge. -- Henry Spencer

Shraddha wrote:
> What is exactly diffrence between function to pointer and pointer to
> function?

What's a "function to pointer"? Have you an example to show?

--
MultiScope Hedgehog
A rock is not a fact. A rock is a rock.

"Shraddha" <shraddhajosh@gmail.com> wrote in message

news:1180240685.495120.94540@z28g2000prd.googlegroups.com...
> What is exactly diffrence between function to pointer and pointer to
> function?

"function pointer" is the term used for a pointer to a function, i.e. a
variable which holds the address of a function and can be used to call it
indirectly.

"function to pointer" isn't a term I've heard. Maybe it refers to the act of
setting a function pointer to a value, by writing fptr = foo; fptr is the
pointer, foo the name of the function.
--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm

Shraddha wrote:

> What is exactly diffrence between function to pointer and pointer
> to function?

The order of the words.

--
 <http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>
 <http://www.securityfocus.com/columnists/423>
 <http://www.aaxnet.com/editor/edit043.html>
 <http://kadaitcha.cx/vista/dogsbreakfast/index.html>
                        cbfalconer at maineline dot net

--
Posted via a free Usenet account from http://www.teranews.com

On May 27, 12:38 pm, Shraddha <shraddhajosh@gmail.com> wrote:

> What is exactly diffrence between function to pointer and pointer to
> function?

Maybe you want to ask the different between "int * func()" and "int
(*func)()".

the first means function return a pointer;the second means pointer to
function.

On May 27, 9:38 am, Shraddha <shraddhajosh@gmail.com> wrote:

> What is exactly diffrence between function to pointer and pointer to
> function?

Please refer this -
http://www.digilife.be/quickreferences/PT/The%20Function%20Pointer%20...

Hope it helps.

BR
Mukesh K S

On May 27, 9:38 am, Shraddha <shraddhajosh@gmail.com> wrote:

> What is exactly diffrence between function to pointer and pointer to
> function?

Please refer this -
http://www.digilife.be/quickreferences/PT/The%20Function%20Pointer%20...

Hope it helps.

BR
Mukesh

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc