![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c
文章平均质量分 58
C-guard
这个作者很懒,什么都没留下…
展开
-
c语言二级试题笔记(4)
二级程序1#include<stdio.h>#include<string.h>void fun(char * a, char * p){char * b = p;while (a != p){if (p == '’){for (b = p; *b !=’\0’; b++)*b = *(b + 1); };p–;};}main(){char s[81], * t;printf(“Enter a string:\n”); gets(s);t =原创 2021-05-28 22:14:11 · 135 阅读 · 0 评论 -
c语言二级试题笔记(2)
5/6接上篇11、双方只要有接收地址的一般不会出错,会按地址传递(个人理解)但暂时也没试出来,动手能力有些下饭。跪求高手指点#include<stdio.h>#includeusing std::cout;using std::endl;#include using namespace std;void foo(int a, int& b, int* e) {a++; b++; (*c)++;return;}int main(){int a = 1, b = 2原创 2021-05-06 23:19:12 · 73 阅读 · 0 评论