摘要:
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 。。。。。。。。 第n行n个数字 前两个数字相加是下一行的数字 #include<stdio.h>#include<string.h>#define N 10 void show(int a[N][N]){ for(int i=0;i<N; 阅读全文
posted @ 2022-01-30 21:29
城北徐公135
阅读(46)
评论(0)
推荐(0)
摘要:
#include<stdio.h>#include<string.h> //int strlen(char *a) 计算字符串a的长度 //{// if(a==NULL)// return 0;// int len = 0;// while(a[len]!=0)// len++;// return 阅读全文
posted @ 2022-01-30 18:29
城北徐公135
阅读(59)
评论(0)
推荐(0)
摘要:
#include<stdio.h>void show(char *a,int len){ for(int i=0;i<len;i++) { printf("%d\n",a[i]); }}int main(void){ char a[30],b[30],c[30],ch;// scanf("%s%s% 阅读全文
posted @ 2022-01-30 14:02
城北徐公135
阅读(161)
评论(0)
推荐(0)
摘要:
#include<stdio.h>int mian(){ char a[10] = {'h','a',' ','h','a','\n'}; //'\0'空字符 是 C语言京中字符串结束的标志 printf("haha\0hehe"); //输出haha printf("%s","ABCD"); // 阅读全文
posted @ 2022-01-30 10:09
城北徐公135
阅读(70)
评论(0)
推荐(0)
浙公网安备 33010602011771号