What is int main ( ); code in C language?? Why use it?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is int main ( ); code in C language?? Why use it??

I need to know the code. Why use it??

24th May 2021, 1:04 PM
Saarthak Baadshaah
2 Answers
+ 2
int main(){} is the entry point of programme . All c programme must contain a main() method
24th May 2021, 1:06 PM
TOLUENE
TOLUENE - avatar
+ 1
main() is the function from where your system starts execution of the program.
24th May 2021, 1:06 PM
Arsenic
Arsenic - avatar