c语言用指针实现求最大数和最小数的程序 闲来随便做做,大家共同探讨#include "stdafx.h"#include "stdio.h"int u,v;find_u_v (int *p,int n){ int *q; u=v=*p; for(q=p;q {if(u else if(v>*q) v=*q; }}int main(int argc, char* argv[]) C、C++ 2023-09-17 169 点赞 2 评论 256 浏览