If the execution of program starts from main()function, then when is the global variable declared which is written before main ? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

If the execution of program starts from main()function, then when is the global variable declared which is written before main ?

14th May 2020, 3:15 PM
Om Prakash Yadav
Om Prakash Yadav - avatar
1 Antwort
+ 1
Sir but I am talking about execution because the variables will be declared during the execution and not during compilation in C++
14th May 2020, 5:19 PM
Om Prakash Yadav
Om Prakash Yadav - avatar