Search Bhai

 

Visitors

Is the size of an Integer Platform Dependent or Architecture Dependent?

platform dependent means based on operating system architecture.
ie in some of 32 bit OS, the size of int is 2byte and in some of 64 bit OS, the size of int is 4 byte. It also varies based on the compiler used.
Example: in VC++ it is 4byte and in TC++ it is 2 byte
Your Ad Here