Before "Main", ¿What I write? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Before "Main", ¿What I write?

HELPPPPP!!!

31st Oct 2016, 12:43 AM
Sirgfritf Berserker
Sirgfritf Berserker - avatar
3 Answers
+ 1
#include <iostream> using namespace std; int main() { return 0; } That's a simple program. I do not understand your question.
31st Oct 2016, 12:52 AM
Isaac Salcedo
Isaac Salcedo - avatar
+ 1
u write return type before ur main for example int main, void main
31st Oct 2016, 1:13 AM
Suhail Pappu
Suhail Pappu - avatar
0
It's return type, where main will always have an integer return type, "int".
31st Oct 2016, 11:43 AM
Cohen Creber
Cohen Creber - avatar