What is the difference between void proba(); and void proba(void); ???

Discussion in 'C++' started by PencoOdStip@gmail.com, May 23, 2007.

  1. Guest

    What is the difference between void proba(); and void proba(void); ???
    , May 23, 2007
    #1
    1. Advertising

  2. wrote:
    > What is the difference between void proba(); and void proba(void); ???


    None, as far as C++ language is concerned. As far as style, I don't
    like the latter. If there are no arguments, the parens should contain
    nothing.

    V
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask
    Victor Bazarov, May 23, 2007
    #2
    1. Advertising

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. jakk
    Replies:
    4
    Views:
    12,048
  2. Ollej Reemt
    Replies:
    7
    Views:
    500
    Jack Klein
    Apr 22, 2005
  3. Santa
    Replies:
    1
    Views:
    1,062
    Mark A. Odell
    Jul 17, 2003
  4. Stig Brautaset

    `void **' revisited: void *pop(void **root)

    Stig Brautaset, Oct 25, 2003, in forum: C Programming
    Replies:
    15
    Views:
    777
    The Real OS/2 Guy
    Oct 28, 2003
  5. Replies:
    5
    Views:
    815
    S.Tobias
    Jul 22, 2005
Loading...

Share This Page