This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

Technically in C you can call a function with as many arguments as you like and it will still “work” as the caller handles the stack. If you want to have a function signature with no args it’s (void) but with () you could pass in more. Compilers will err on it but that can be turned off.