KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What is better: void foo() or void foo(void) ? With void , it looks ugly and inconsistent, but I've been told that it is good. Is this true? I know some old compilers do weird things, but if I'm using just GCC, is void foo() Ok? Will foo(bar); then be accepted?
Tags (comma-separated)
Save Edits
Cancel