Please explain how will the following code runs! Thanks in advance

前端 未结 0 785
不思量自难忘°
不思量自难忘° 2021-01-15 13:03
void class::comp(class &c1,class &c2)
{
if(c1.variable>c2.variable)
{
class temp;
c1=c2;
c2=temp;
}
}

How will the following code compare

相关标签:
回答
  • 消灭零回复
提交回复
热议问题