int tt;
int &myy(int value)
{
tt=value;
return tt;
}
int main(int argc, char *argv[])
{
myy(100)=10;
cout<
理解成将10赋值给函数的返回值(tt)

int tt;
int &myy(int value)
{
tt=value;
return tt;
}
int main(int argc, char *argv[])
{
myy(100)=10;
cout<
理解成将10赋值给函数的返回值(tt)