Hi,
I defined,
Uint16 TCounts[10]; in globals.h
and tried to use it in cc01drv.c where #include "globals.h" is there.
but during build the error msg coming up is, "C202 undefined identifier"
Why this is happening, I haven't initialize the array.
That would be a book specifically about (Borland's?) Turbo C/C++ - it may well assume that you understand the 'C' programming language in general?
Because it is explicitly stated to be specific to Turbo C/C++, you need to take care to think about whether the things it says are applicable to Keil (or any other compiler).
What you really need is a general 'C' textbook - one which describes the language itself, not one specific implementation!