- 博客(5)
- 收藏
- 关注
原创 明解C语言 第九章答案
9-2#include <stdio.h>int main(void){ char s[] = "ABC"; int i; for(i=0;i<4;i++){ s[i]='\0'; } printf("string=%s",s); return (0);}9-3#include <s...
2019-06-01 15:52:06
2014
2
原创 明解C语言入门篇 练习题第12章
12-1#include <stdio.h>#define NAME_LEN 64struct student{ char name[NAME_LEN]; int height; float weight; long schols;};int main(void){ struct student takao= {"Takao",...
2019-03-08 09:10:16
304
原创 明解C语言入门篇 练习题第11章
11-1#include <stdio.h>int main(void){ char *p = "123"; printf("p = \"%s\"\n", p); p = "456"+1; printf("p = \"%s\"\n", p); return 0;}11-2#include <stdio.h
2019-03-04 08:35:03
463
原创 明解C语言入门篇 练习题第十章
10-1#include <stdio.h>void adjust_point(int *n){ if(*n<0) { *n=0; } if(*n>100) { *n=100; } return;}int main(void){ int a; print...
2019-02-28 08:40:14
440
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人