91学习

陪伴你每一天!

输出12个月

#include <stdio.h>void main(){ int i; char *month[]={ "January", "February", "March", "April", "May", "June", "July", "August", "September", &qu

利用指针实现字符串的复制

#include <stdio.h>void main(){ char str1[]="you are beautiful",str2[30],*p1,*p2; p1=str1; p2=str2; while(*p1!='\0'){ *p2=*p1; *p1++; *p2++; } *p2='\0'; printf("now the str2 is:\n"); puts(str2);}

字符串与指针

#include <stdio.h>int main(){ char *string="hello"; printf("%s",string); printf("\n"); return 0;}

对于一个3行3列数组输出第二行

#include <stdio.h>int main(){ int a[3][3],i,j; printf("please intput :\n"); for(i=0;i<3;i++) for(j=0;j<3;j++) scanf("%d",*(a+i)+j); printf("the second line is:\n"); for(j=0;j<3;j++) printf("%5d

输出二维数组的第三行

#include <stdio.h>int main(){ int a[3][5],i,j,(*p)[5]; p=&a[0]; printf("please input number:\n"); for(i=0;i<3;i++) for(j=0;j<5;j++) scanf("%d",(*(p+i)+j));         p=&a[2]; printf(

二维数组与指针

#include <stdio.h>int main(){ int a[3][5],i,j; printf("please input the array:\n"); for(i=0;i<3;i++){ for(j=0;j<5;j++){ scanf("%d",a[i]+j); } } printf("the arrray is:\n"); for(i=0;i<3;i++){ for(j=0;j&

一维数组与指针

#include <stdio.h>int main(){ int *p,*q,a[5],b[5],i; p=&a[0]; q=b; printf("please input array a:\n"); for(i=0;i<5;i++) scanf("%d",&a[i]); printf("please input array b:\n"); for(i=0;i<5;i++) scanf(&

星驿付陆POS注册流程

 首先第一步,APP下载  以上流程是不是很详细啊。我认为这个详细流程完全满足您的需要,当然如果有什么不解,也可以打电话18790284560咨询。

努力是为了遇见更好的自己

生活在一个快节奏的世界里,每个人都会遭遇挫折、遭遇失败、遭遇人生中的各种不幸,都会在人生低谷的时候怀疑自己是不是不够优秀、不够好,为什么不如意的事情总是被自己遇上,不要怀疑自己,你只是不够努力而已! 你要相信,你可以做到最好,跌倒了,就微笑着站起来,擦干眼泪继续奔跑,人总是要长大的,不管曾经怎样,都会幻化成风,消失在时光的隧道。所以勇敢的向前走,努力的向前走,让我们在一场场身不由己的努力里遇见成更好的自己! 生活不会宠着你,时间不会等着你,谁也不可能惯着你。所以,你要明白,你不努力,没有人可以帮

内部函数static

#include <stdio.h>static char* GetString(char* pString){ return pString;}static void ShowString(char* pString){ printf("%s\n",pString);}int main(){ char* pMyString; pMyString=GetString("Hello MingRi!"); ShowString(pMyString)