张赐荣,视障者,信息无障碍专家
深耕Web/PC/移动端可访问性研究与实践工作多年,对跨平台无障碍解决方案拥有深刻的独特理论和丰富的实战经验。
精通视障用户软件交互设计,致力于用专业的能力改善、提升产品可及性体验。

張賜榮

张赐荣的技术博客

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页

2022年3月21日 #

摘要: #include <stdio.h> #include <malloc.h> int *LoadInt(int); int main(void) { int x = 0; int *p; p = LoadInt(20); while(x < 20) { printf("%d\n",p[x]); x+ 阅读全文
posted @ 2022-03-21 16:08 张赐荣 阅读(125) 评论(0) 推荐(0)

摘要: 指向无参函数的指针 #include <stdio.h> int Integer(void); char Char(void); int main(void) { int (*a)() = Integer; char (*b)() = Char;; printf("%d\n%c\n",a(),b() 阅读全文
posted @ 2022-03-21 16:04 张赐荣 阅读(121) 评论(0) 推荐(0)

摘要: 用指针作形参,实现输出参数,交换两变量的值。 #include <stdio.h> void jiaohuan(int *,int *); int main(void) { int a=100,b=200; jiaohuan(&a,&b); printf("%d\n%d\n",a,b); retur 阅读全文
posted @ 2022-03-21 16:01 张赐荣 阅读(136) 评论(0) 推荐(0)

摘要: C语言多级指针 (指向指针的指针) #include <stdio.h> int main(void) { int i = 100,j = 200; int *p; int **q; int ***l; p = &i; q = &p; l = &q; printf("%d\n%d\n%d\n%d\n 阅读全文
posted @ 2022-03-21 15:58 张赐荣 阅读(35) 评论(0) 推荐(0)

摘要: C语言 enum 枚举常量 #include <stdio.h> enum WeekDay { MonDay,TuesDay,WednesDay = 5,ThursDay,FriDay,SaturDay,SunDay }; int main(void) { enum WeekDay Day = Fr 阅读全文
posted @ 2022-03-21 15:56 张赐荣 阅读(74) 评论(0) 推荐(0)

摘要: C语言共用体 union #include <stdio.h> union U1 { unsigned char c [3];unsigned int i; }; union U2 { char c[15]; int i; }; int main(void) { union U1 u1; union 阅读全文
posted @ 2022-03-21 15:52 张赐荣 阅读(215) 评论(0) 推荐(0)

摘要: C语言使用指针指向结构体 #include <stdio.h> struct Student { char name; int age; }; int main(void) { struct Student a,*p; p = &a; p->name = 'a'; p->age = 12; prin 阅读全文
posted @ 2022-03-21 15:49 张赐荣 阅读(60) 评论(0) 推荐(0)

摘要: C语言结构体类型 #include <stdio.h> struct Student { char name; int age; }; int main(void) { struct Student a = {'a',12};; printf("name:%c\nage:%d\n",a.name,a 阅读全文
posted @ 2022-03-21 15:43 张赐荣 阅读(68) 评论(0) 推荐(0)

摘要: C语言前自增自减(c、--c)和后自增自减(c、c--)的区别? #include <stdio.h> int main(void) { int i = 5; i++; printf("%d\n",i); printf("%d\n",i++); printf("%d\n",i); printf("% 阅读全文
posted @ 2022-03-21 15:40 张赐荣 阅读(189) 评论(0) 推荐(0)

摘要: C语言基本数据类型的意义,如何灵活运用? #include <stdio.h> int main(void) { int i = 1094795585; //该值占四个字节,每个字节都是十进制的六十五 char *p = (char *)&i; printf("%d\n%d\n%d\n%d\n",p 阅读全文
posted @ 2022-03-21 15:35 张赐荣 阅读(136) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 10 下一页

感谢您访问张赐荣的技术分享博客!
博客地址:https://cnblogs.com/netlog/
知乎主页:https://www.zhihu.com/people/tzujung-chang
个人网站:https://prc.cx/