Can we replace int main for void main? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

Can we replace int main for void main?

18th Aug 2016, 1:28 PM
Sam Zaharan
Sam Zaharan - avatar
3 ответов
0
yes
19th Aug 2016, 7:05 PM
Md Sumon Mia
Md Sumon Mia - avatar
0
sort of
2nd Sep 2016, 12:39 PM
Abdurrahim Derric
Abdurrahim Derric - avatar
0
basically, the 1st answer satisfies the solution well, I guess you were migrating from turbo to gcc, and this comes up to your mind. Just for sake, think of it as a postulate as it is being used in the commonly used GCC compiler world wide.
2nd Jan 2017, 5:11 PM
Navneet Sharma
Navneet Sharma - avatar