- #1
Luongo
- 120
- 0
Just some basic questions i have about function prototypes (functions)
What's an example of a code which has no parameters? ie: double func(void)
what is the purpose if the thing doesn't take in parameters? also, what if there is keyboard input and screen input what does that mean in the function prototype? does it usually happen? what's the point of having a function if it doesn't RETURN any useful stuff to main? or prints nothing on the screen?
What's an example of a code which has no parameters? ie: double func(void)
what is the purpose if the thing doesn't take in parameters? also, what if there is keyboard input and screen input what does that mean in the function prototype? does it usually happen? what's the point of having a function if it doesn't RETURN any useful stuff to main? or prints nothing on the screen?