相信自己,快乐每一天
发布时间:2014-09-08 16:23:45
#include <stdio.h>#include <conio.h>int main(int argc, char **argv){char *start[3] = {"one","two","three"};char *start1[5] = {"one","two","three"};char *p = "this is one";printf("&start[0]----%u\n",&start[0]);printf("start----%u\n",start);printf("&start[0] + 1----%u\n",&start[0] + 1);pri.........【阅读全文】
发布时间:2014-08-20 10:15:30
http://www.ioccc.org/index.html这里是C语言奇怪代码大赛的网址,评选出许多奇特的C语言代码实现的某些功能。......【阅读全文】
发布时间:2013-11-01 14:44:18
前提是两个值不相等#define SWAP(a,b) (a = a + b, b = a - b, a = a - b)#define SWAPP(a,b) (a = a ^ b, b = a ^ b, a = a ^ b)int main(size_t argc, char* argv[]){ int a = 10; int b = 20; char aa = 'c'; char dd = 'd'; // SWAP(a,b);.........【阅读全文】