C programming fundamentals | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 6

C programming fundamentals

Can we write a c program without main() function? Answer is yes ! We can write a c program without main() function.

31st Jan 2021, 9:51 AM
Shubham Vijaykumar Patil
Shubham Vijaykumar Patil - avatar
3 Answers
+ 1
Yes, you can hide main using preprocessor, but it still has main. But how is this question? Ask questions here if you don't want your posts to get deleted
31st Jan 2021, 10:02 AM
Michal Doruch
0
ok
31st Jan 2021, 10:03 AM
Shubham Vijaykumar Patil
Shubham Vijaykumar Patil - avatar
31st Jan 2021, 11:26 AM
Atul [Inactive]