About pointer declaration

Discussion in 'C++' started by bryant058@gmail.com, Mar 27, 2007.

  1. Guest

    there is a question:

    block *(*g( ))[10];

    what does this declaration mean??
     
    , Mar 27, 2007
    #1
    1. Advertisements

  2. Victor Bazarov, Mar 27, 2007
    #2
    1. Advertisements

  3. Guest

    , Mar 27, 2007
    #3
  4. On Mar 27, 6:28 pm, wrote:
    > there is a question:
    >
    > block *(*g( ))[10];
    >
    > what does this declaration mean??


    so it can be read as with my poor english;

    g is function returning a pointer to a ten sized array of block
    pointers
     
    hurcan solter, Mar 27, 2007
    #4
  5. terminator Guest

    On Mar 27, 7:28 pm, wrote:
    > there is a question:
    >
    > block *(*g( ))[10];
    >
    > what does this declaration mean??


    g is A 10 element array of function pointers returning block pointers
    and getting no parameters.
     
    terminator, Mar 27, 2007
    #5
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Noah
    Replies:
    5
    Views:
    1,168
  2. Replies:
    10
    Views:
    965
    Chris Torek
    Feb 4, 2005
  3. jimjim
    Replies:
    16
    Views:
    1,084
    Jordan Abel
    Mar 28, 2006
  4. Bolin
    Replies:
    4
    Views:
    539
  5. Replies:
    4
    Views:
    1,617
    Fred Zwarts
    Jul 2, 2009
  6. A
    Replies:
    7
    Views:
    792
  7. , India

    pointer to an array vs pointer to pointer

    , India, Sep 20, 2011, in forum: C Programming
    Replies:
    5
    Views:
    749
    James Kuyper
    Sep 23, 2011
  8. arnuld

    pointer vs pointer to pointer

    arnuld, Jun 11, 2012, in forum: C Programming
    Replies:
    4
    Views:
    615
    Ben Bacarisse
    Jun 11, 2012
Loading...