#include
using namespace std;
int * min(int a,int b,int c){
int *p=0;
if(a<b)
p=&a;
else p=&b;
if(*p>c)
p=&c;
return p;
}
int main()
{
int a,b,c;
int *p=0;
cout<<"please input a,b,c:";
cin>>a>>b>>c;
p=min(a,b,c);
cout<<"最小值為:"<<*p<<endl;
cout<<"a="<<a<<endl;
cout<<"b="<<b<<endl;
cout<<"c="<<c<<endl;
return 0;
}
能詳細描述你的問題麼