摘要:#include <stdio.h>#include <stdlib.h> int main(){ int add[2][3][4] = { {{1,2,3,4},{5,6,7,8},{9,10,11,12}}, {{13,14,15,16},{17,18,19,20},{21,22,23,24}}
阅读全文
摘要:#include <stdio.h>#include <stdlib.h> int main(){ int add[3][3] = { {1,2,3},{4,5,6},{7,8,9} }; for (int x = 0; x < 3; x++) { for (int i = 0; i < 3; i+
阅读全文
摘要:#include <stdio.h>#include <stdlib.h> int main(){ int add[] = { 1,256,12,621,62,3462,6,89999,87}; int g=sizeof(add) / sizeof(add[0]); int temp = 0; fo
阅读全文
摘要:#include <stdio.h>#include <stdlib.h> int main(){ int add[] = { 1,256,12,621,62,3462,6,89999,87}; int g=sizeof(add) / sizeof(add[0]); printf("add数组的长度
阅读全文
摘要:#include <stdio.h>#include <stdlib.h> int main(){ int add[] = { 1,256,12,621,62,3462,6,89999,87}; int Max=add[0]; int Mini; for (int x = 0; x < g; x++
阅读全文
摘要:#include <stdio.h>#include <stdlib.h> int main(){ int add[] = { 1,2,51,6,16,1 }; // 静态创建1 int arr[2]; // 静态创建2 arr[0] = 12; arr[1] = 25; arr[2] = 100;
阅读全文