prev up next   top/contents search

comp.lang.c FAQ list · Question 16.1c

Q: Why isn't my procedure call working? The compiler seems to skip right over it.


A: Does the code look like this?

	myprocedure;
C has only functions, and function calls always require parenthesized argument lists, even if empty. Use
	myprocedure();
Without the parentheses, the reference to the function name simply generates a pointer to the function, which is then discarded.


prev up next   contents search
about this FAQ list   about eskimo   search   feedback   copyright

Hosted by Eskimo North