#include <stdio.h>
/*
*2019-3-23 15:55:40
*平台:windows10+codeblocks
*/
int main(int argc, char *argv[])
{
if(__SIZEOF_POINTER__== 4)
printf("32bit machine\n");
else if(__SIZEOF_POINTER__ == 8)
printf("64bit machine \n");
else
printf("error\n");printf("C Hello world!\n");
return 0;
}
#if 0
output
32bit machine
C Hello world!
#endif // 0
note:__SIZEOF_POINTER__ is not defined in keil mdk and iar