专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
数组的插入: #include <stdio.h> #define SIZE 10 int main() { int a[SIZE]={10,12,14,16,18,20,13,200,134,59}; /* 初始化数组 */ int b[SIZE+1]={0},i,j,x,v; /* b数组为插入后的数组,新插入了一个元素,所以要在原数组的基础上加1 */ printf(\"Please input insert addr:\"); scanf(\"%d\",&x); /* 插入值的位置 */ printf(\"Please inpu [阅读全文] [PDF]
1 共1条 分1页