I'm confused about why we need to pass void into C functions:

int f(void) { return 0; }

versus

int f() { return 0; }

What is the proper thing to do and why?

c
Edit
Report