Okay, Panther added 64-bit compatibility in the retail box, but 10.2.8 would have had to have had some 64-bit compatibility because it ran on the PowerMac G5... right?
No. They're as 64bit as any other OS of their time (other than server OSs and stuff). Apple does it different than microsoft, there are no versions of an OS (other than server/client) and Snow Leopard will have full 64bit support. As I understand it even 64bit Windows isn't as 64bit as Snow Leopard (not totally sure what that means).
what i mean by 64 bit OS is, if i take an interger variable in my program then its address should be 8 bytes not 4 byts as in the case of 32 bits OS. So does there exist Panther (10.3) / Tiger (10.4) os which can show me the integer as 8 bytes.
You should probably ask this in the programming forum below. Essentially, you have to set the 64-bit flag to TRUE prior to compiling your app for it to be 64-bit (at least with Leopard).