• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






努力爬行的小虫子

 
 

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

2020年11月27日

转义字符以及优先级列表
摘要: 优先级方面可以看这个来自:https://www.zhihu.com/tardis/sogou/art/53147212 阅读全文
posted @ 2020-11-27 20:50 努力爬行的小虫子 阅读(59) 评论(0) 推荐(0)
 
2006年真题
摘要: 一、选择题 2、对于static int a[3][4];则数组a中各元素在程序的编译阶段得到初值0. 6、int i=0,j=1,*p=&i,*q=&j;问错误的语句是( ) A) i=*&q; B) p=&*&i; C) *p++; D) i=*&j; 总结方法:从里到外层层剥离,碰到*&或者& 阅读全文
posted @ 2020-11-27 16:00 努力爬行的小虫子 阅读(41) 评论(0) 推荐(0)
 

2020年11月25日

2006年真题
摘要: 一、选择题 对于第4小题 知识补充一下: 对于第5小题: 1 #include <iostream> 2 #include<stdio.h> 3 4 5 6 int main(){ 7 8 int a[3][4]={1,2,3,4,5,6,7,8,9,10,11,12}; 9 int *p=*a;/ 阅读全文
posted @ 2020-11-25 22:28 努力爬行的小虫子 阅读(21) 评论(0) 推荐(0)
 
2005年真题
摘要: 一、 1 #include<stdio.h> 2 3 int main(){ 4 int *p,k=10; 5 double *q,f=5.6; 6 p=&k; 7 q=&f; 8 printf("%g\n",*q); 9 printf("%d\n",*p); 10 p=(int *)q; 11 p 阅读全文
posted @ 2020-11-25 16:02 努力爬行的小虫子 阅读(38) 评论(0) 推荐(0)
 

2020年11月24日

单链表--头插法和尾插法
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 typedef int ElemType ; 5 6 typedef struct LNode{ 7 ElemType data; 8 struct LNode *next; 9 }LinkList; 10 阅读全文
posted @ 2020-11-24 15:05 努力爬行的小虫子 阅读(118) 评论(0) 推荐(0)
 

2020年11月23日

2004年真题
摘要: 2004年真题 二、 6、 1 #include <iostream> 2 3 #include<stdio.h> 4 #include<stdlib.h> 5 #include<string.h> 6 #include<math.h> 7 #define SLEN 20 8 #define M 5 阅读全文
posted @ 2020-11-23 21:26 努力爬行的小虫子 阅读(49) 评论(0) 推荐(0)
 
二维字符数组赋初值需要注意的事项
摘要: 1、 上述图片的定义是不对的,会报错: 为什么?因为"ABC"看起来是3个字符实际上是4个字符,还有一个'\0'作为结束符,这个字符是系统自动加上的。 所以再定义一个二维数组时,列应该定义的长度为最大字符串的有效字符+1. 阅读全文
posted @ 2020-11-23 21:13 努力爬行的小虫子 阅读(142) 评论(0) 推荐(0)
 
未解决的题目
摘要: 2003年编程题3(2020/11/24号已解决) 2004年编程题1 程序填空题2 都是链表排序题型(2020/11/26号已解决) 2006年三、程序填空题 四、程序改错题 未验证猜想 五、编程题 阅读全文
posted @ 2020-11-23 19:03 努力爬行的小虫子 阅读(21) 评论(0) 推荐(0)
 

2020年11月22日

为什么要malloc()?何时要malloc()?如何使用malloc()?
摘要: 1、https://blog.csdn.net/wstz_5461/article/details/74356690?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.contr 阅读全文
posted @ 2020-11-22 22:17 努力爬行的小虫子 阅读(267) 评论(0) 推荐(0)
 
2003年真题
摘要: 2003年真题 二、 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 5 int dec(int a[],int n){ 6 if(n<=1) 7 return 1; 8 if(a[0]<a[1])//只要子序列第一个数和第二个数为非递减数列则说明该数列 阅读全文
posted @ 2020-11-22 22:12 努力爬行的小虫子 阅读(36) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 7 8 9 10 11 下一页