写了个挺好玩的程序

来源:互联网 发布:js 计数器 编辑:程序博客网 时间:2024/05/01 06:28
//*********************************An easy program.***************************************
//************************BY W.K.WUST.Automation.Based on VC++ 6.0.***********************
//***********************************A little amazing.************************************
//***********You may guess what will be printed first ,then just build and run.***********
//***********************************Don't blink.*****************************************
//****************************************************************************************
#include <stdio.h>
int main()
{
 char *str = {"hello"};
 while(1)
 {*str++!=EOF?putchar(*str):exit(0);
   printf("%s\n",str); 
 }
 return 0;
}
原创粉丝点击