01 2015 档案
摘要:1 #include 2 #include 3 4 int main() 5 { 6 char s1[] = {'H', 'e', '1', '2', 'o'}; 7 char *p=(char *)(s1+3); 8 printf("*p:%c\n",p[0]); 9 char *p2=(...
阅读全文
摘要:#运算符用于在预编译时,将宏参数转换为字符串eg.#include #define CONVERT(f)(#f)void helloworld(){ printf("hi,tom welcome to you!");}int main(){ printf("%s\n",CONVERT(hello w...
阅读全文

浙公网安备 33010602011771号