Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers
elance-zoho-creator-exam.pdf

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.
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon