+ 1
Return type
The void printSomething. Is it compulsory to use printSomething after the void
5 Answers
+ 6
It is just a name to the function. You can put any name on that place. It is just the function name
+ 4
It's your choice to name a function...but be sure to define it.
+ 2
nah, its just naming function. Name your function whatever you wish.
You might wanna go back to your functions lesson. Revise a bit.
+ 1
no..void is just a return type to use before main...its not complusary...u may use any other data type instead of it..u may revise about data types once