This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Function return value if () are missing

As I am sure most of us have at some time, I have ocasionally missed the () off the end when calling a function.

e.g myFunction; instead of myFunction();

When I do this the code compiles and runs ok.

My question is, what is the value I actually get back? It seems very consistent. Is it some reference to the function or memory address?

Just inquisitive really.

Cheers,

Dirk

0