@abir_banerjee
myextern1 is called from but myextern1 will not call myextern2 because condition is not satisfied.
This is not correct bcz when myextern1 is called... that tym value of global i is 5.
→ (5>0) this is true. After that, i is incremented by 1. It becomes 6. Then myextern2() is called.
→ (6<3) this is false. After i incremented by 1. It becomes 7. Condition fails myextern2() return and after that myextern1() return.
→ Again when the while loop has been checked, the time value of i (global) is 7. (7<5) false, and i becomes 8.
So, the value of global i is 8, and the value of static i is 5.