int total(int x,int y) //调用函数{ return x+y;}void __fastcall TForm1::Button1Click(TObject *Sender){ int x,y,z; x = 16; y = 17; z = total(x,y);//调用函数 label1->Caption =IntToStr(z);}