zoukankan
html css js c++ java
用指针返回两个数中较小的一个
#include<stdio.h>
int* small(int* a,int* b);
int main(void)
{
int a,b;
printf("请输入两个数字: ");
scanf("%d%d",&a,&b);
int *s;
s=small(&a,&b);
printf("%d ",*s);
return 0;
}
int* small(int* a ,int* b)
{
return *a>*b?b:a;
}
查看全文
相关阅读:
mysql 权限问题
触发器作用
带有循环功能的存储过程
带有条件判断的存储过程
数据存储 三大范式-----------待续
存储过程自 带条件判断的存储过程
线程异步更新UI
TextBox只能输入数字
C#中无边框窗体移动或拖控件移动窗体
classloader原理
原文地址:https://www.cnblogs.com/wsq724439564/p/3258162.html
最新文章
mount on linux
golang实战使用gin+xorm搭建go语言web框架restgo
Laravel之大纲
csrf攻击
php 、go 、python http请求(get和post)
php-AES/CBC/PKCS7Padding加密的实现
tornado基本使用
sqlAchemy
anaconda(金融量化分析版python)
数据库知识点(性能优化)
热门文章
设计模式
linux之redis
flask
django源码研究
scapy-redis
nginx安装
C#与.net
初探C#
c语言前世今生
如何对数据库进行备份
Copyright © 2011-2022 走看看