摘要: #include <stdio.h> main() { struct sk{ int a;float b; }data,*p; p=&data; data.a=10; printf("%d\n",(*p).a); printf("%d\n",p->a); getchar(); } #include 阅读全文
posted @ 2023-01-24 19:38 myrj 阅读(20) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> main() { char a[3][10]={"beijing","shanghai","tianjin"},*pa=a[0]; printf("%s\n",*(a+1)); printf("%s\n",a+1); printf("%s\n",*a+1); p 阅读全文
posted @ 2023-01-24 09:06 myrj 阅读(73) 评论(0) 推荐(0) 编辑