Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

What is the difference between "void foo();" and "void foo(void);" in C?

Neither void foo(); nor void foo(void); are correct C.
void foo(); is not correct C.
There is no difference, they are equivalent.
void foo() allows for calls with any number of arguments while void foo(void) does not allow for calls with any arguments.
void foo(void); is not correct C.
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon