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