locked
Global and Extern ! RRS feed

  • Question

  • Whats the difference bet Global and extern?
    Thursday, March 8, 2007 5:17 AM

Answers

  • Its good that u post something useful .

    Global variables ve scope only within the program.. but for the whole program..

    whereas extern variables ve scope bet different programs.. u can use a variable of one program in another.. Extern's scope is more than global's..

    Thursday, March 8, 2007 5:35 AM