摘要:
/* 有一字符串,包含n个字符。 写一函数,将此字符串中从第m个字符开始的全部字符复制成为另一个字符串 */#include <stdio.h>#include <malloc.h> char *strmcpy(char *a, int m){ char *s = a ; char *b = (ch 阅读全文
posted @ 2020-03-10 17:49
我好帅我好累
阅读(1149)
评论(0)
推荐(0)
摘要:
/* 写一函数,将一个3x3的整型矩阵转置,用指针实现 */#include <stdio.h>#include <malloc.h>#define SIZE 3 int main(){ int **a = (int **)malloc(sizeof(int *)*SIZE);//二维数组动态分配内 阅读全文
posted @ 2020-03-10 17:45
我好帅我好累
阅读(2825)
评论(0)
推荐(0)
浙公网安备 33010602011771号