void class::comp(class &c1,class &c2) { if(c1.variable>c2.variable) { class temp; c1=c2; c2=temp; } }
How will the following code compare