See, the first 3 lines are function heads. Then you print them. Function names are actually pointers. Without using (..) they decay to pointers. So you are printing the pointer value, coming out to 1 (basically some random value, because you havent allocated space for the function). remove the () in the first three lines, that makes it a data type;
No comments:
Post a Comment