0

Why the computer program start from the main and not from the first line ?! Or from the #include<iostream>

i ask that because i know that # is command for the compaeller so what is the different?!

2nd May 2019, 5:38 PM
naghm amer
naghm amer - avatar
2 ответов
+ 1
Because main function gets special treatment from the compiler and execution of every program starts from very first line of main function. And iostream is a header file which contains information about the keywords which you use like cout, cin.
2nd May 2019, 6:13 PM
Aayush Agarwal