Possible Duplicate:
Difference between WIN32 and other c string
I got this code inside a small program to read a file
#ifdef WIN32
unsigned char *buffer = (unsigned char *)alloca((unsigned int)ui.length);
#else
unsigned char buffer[ui.length];
#endif
Can anybody tell me , why pointer used for win32 platform and character array for other platform?