ZZ 有趣的小程序

#include <stdio.h>
int main()
{
const short int c1 = 49920;
const int c2 = 1073742008;

int (*pf)() = (int (*)())&c2;
printf("%c%c\n", *(char*)pf()-19, *((char*)pf()+1)-49);
return 0;
}

在vc6,debug模式编译后运行会输出
":)"

posted @ 2009-11-25 16:22  上呀么上好佳  阅读(116)  评论(0编辑  收藏  举报