kishore

Discussion in 'C++' started by sunki_kishore, Sep 28, 2007.

  1. sunki_kishore

    sunki_kishore New Member

    Joined:
    Sep 17, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hey All,

    what is the difference between pointer to a function and function pointer?
     
  2. rick

    rick New Member

    Joined:
    Nov 16, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    There is no difference between pointer to a function and function pointer they both mean the same thing.
    eg. void (*funcptr)(int a , int b)

    here funcptr is a function pointer/pointer to a function that receives two arguments of type ints and returns nothing.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice