Limitations on Code Size and Data Size

When writing a program with Microsoft C/C++, keep in mind two limitations that apply to all six memory models:

No single source module can generate 64K or more of code. You must break large programs into modules and link their individual .OBJ files to create the .EXE file.

No single data item can exceed 64K unless it appears in a huge-model program or it has been declared with the __huge keyword.