码迷,mamicode.com
首页 >  
搜索关键字:c语言 指针 二维数组 数组名    ( 32104个结果
实验五 数组和指针
实验任务一 #include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", ...
分类:编程语言   时间:2021-06-02 13:40:25    阅读次数:0
实验5
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:其他好文   时间:2021-06-02 13:37:57    阅读次数:0
实验五
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:其他好文   时间:2021-06-02 13:37:21    阅读次数:0
实验五
task 1 #include <stdio.h> const int N=3;int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", ...
分类:其他好文   时间:2021-06-02 13:36:45    阅读次数:0
实验五
#include<stdio.h> const int N=3;int main(){ int a[N]={1,2,3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0;i<N;i++) printf("%d;%d\n", &a[i],a[i]); pr ...
分类:其他好文   时间:2021-06-02 13:35:06    阅读次数:0
实验5
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:其他好文   时间:2021-06-02 13:32:46    阅读次数:0
实验五
实验任务1 #include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", ...
分类:其他好文   时间:2021-06-02 13:30:31    阅读次数:0
实验五
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:其他好文   时间:2021-06-02 13:29:18    阅读次数:0
LeetCode415. 字符串相加
LeetCode415. 字符串相加 题目描述 /** * * 给定两个字符串形式的非负整数 num1 和num2 ,计算它们的和。 * */ 思路分析 按照多位数加法列竖式计算的方式 定义一个可变长字符串保存计算的结果,定义一个carry保存对应两位是否有进位 将每次计算的结果以字符从形式追加到字 ...
分类:其他好文   时间:2021-06-02 12:43:28    阅读次数:0
实验五
任务一#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a ...
分类:其他好文   时间:2021-06-02 12:17:51    阅读次数:0
32104条   上一页 1 ... 9 10 11 12 13 ... 3211 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!