how to print a message to console without using main() function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to print a message to console without using main() function?

16th Aug 2016, 5:11 PM
janani sundar
janani sundar - avatar
2 Answers
+ 1
main is the first function the program runs, its starting point if you will. It can't do anything without that starting point.
16th Aug 2016, 5:16 PM
Ahkrin
- 1
thq...bt it s a interview question
17th Aug 2016, 12:43 PM
janani sundar
janani sundar - avatar