which executed first header file or main( ) in c++ program ? explain.
⚠️not answer if you don't know
⚠️not copied from Google.
⚠️not spam
⚠️your I'd will be danger if spammed
⚠️only correct answer with explanation , otherwise reported.
Answers
Answered by
22
it's depend upon structure of programming language.
- if programming language has bottom - up approach then main( ) function will execute first. Programming language that have bottom -up approach :- C++.
- if programming language has top-down approach then header files will execute first. Programming language that have top-down approach :-C.
Answered by
2
Answer:
it's depend upon structure of programming language.
if programming language has bottom - up approach then main( ) function will execute first. Programming language that have bottom -up approach :- C++.
if programming language has top-down approach then header files will execute first. Programming language that have top-down approach :-C
Similar questions