One response to “What three things distinguish a void function from main?”

  1. cja

    Are you looking for differences between:

    void foo(void);

    and

    int main(int argc, char *argv[]);

    ?

    1. main’s return value is int
    2. main takes arguments, foo does not
    3. main is usually a program’s entry point

Incoming search terms:

three things that distinguish void function from main, three things distinguish a void function from main, what three thing distinguish a void function from a main function, what three things distinguish a void function from main