摘要:
打印1~1000.(不使用循环,不使用条件语句)1 使用函数指针退出 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--voidyesprint(inti);voidnoprint(inti);typedefvoid(*fnPtr)(int);fnPtrdispatch[]={yesprint,noprint};voidyesprint(inti){printf("%d\n",i);dispatch[i/1000](i+1);}voidnopri 阅读全文
posted @ 2011-01-07 11:20
Keosu
阅读(327)
评论(0)
推荐(0)

浙公网安备 33010602011771号