// // playExtern.h // // // Created by Ying Li on 2/23/20. // #ifndef playExtern_h #define playExtern_h #include extern int gblA; // global scope. (This is a declaration) extern int glbB; //int gblA; // not an appropriate way // int gblA = 5; // doesn't compile (this is a definition) void printExternVal (); #endif /* playExtern_h */