14 指针及其运算
来源:互联网 发布:知已唯美图片 编辑:程序博客网 时间:2024/06/06 03:51
14 指针及其运算
#include <stdio.h>
int main( )
{
int a,b,*p1,*p2,*p;
scanf("%d %d",&a,&b);
p1=&a;
p2=&b;
if(a<b)
{
p=p1;
p1=p2;
p2=p;
}
printf("a=%d b=%d\n",a,b);
printf("max=%d min=%d\n",*p1,*p2);
return 0;
}
0 0
- 14 指针及其运算
- C语言:指针及其运算
- C语言及程序设计初步例程-14 指针及其运算
- 第十四章指针及其运算初探~!
- 实践题目——指针及其运算
- 指针运算
- 指针运算
- 指针运算
- 指针运算
- 指针运算
- 指针运算
- 指针运算
- 指针运算
- 指针运算
- 指针运算
- 指针运算
- 指针运算
- 指针运算
- macbook win10下声音键和触摸板右键键盘灯无法使用解决方法
- 上海科目三要点
- 自定义Builder的构造
- 弹性布局
- 如何在5.0上实现button的Ripple(水波效果)
- 14 指针及其运算
- Android 5.0中设置全屏无标题
- spring 笔记
- 从ubuntu自启服务管理到linux init 初探
- SwipeRefreshLayout 与 CoordinatorLayout 嵌套刷新
- linux vi 设置高亮和行号
- 【Struts 1】Struts1的基本原理和简介
- maven笔记
- poj之旅——2155