Thread: what's the different between "void (**A)()" and "void *(*A)()"?

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    1

    what's the different between "void (**A)()" and "void *(*A)()"?

    void (**A)() and void *(*A)(),
    I think they are different,but why?

  2. #2
    Registered User jasrajva's Avatar
    Join Date
    Oct 2001
    Posts
    99
    the first ie
    void(**A)()
    is a pointer to a pointer to a function returning void

    the second ie
    void*(*A)()
    is a function pointer to a function that returns a void pointer
    jv

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What exactly does "void" mean?
    By GoldPhoenix in forum C++ Programming
    Replies: 9
    Last Post: 12-27-2006, 09:09 PM
  2. "VOID" as opposed to void
    By Trauts in forum Windows Programming
    Replies: 23
    Last Post: 05-28-2003, 10:56 AM
  3. "void"
    By jjj in forum C Programming
    Replies: 5
    Last Post: 09-08-2002, 12:18 PM
  4. questions about "void"...
    By Gamma in forum C++ Programming
    Replies: 7
    Last Post: 04-13-2002, 10:04 AM