Search for 2nd smallest number. What’s wrong in The lines of code.
Sigiloso
We should not access non-static member inside static function.As we can call static function with scope resolution operator coincide it it won’t know for which object it should change the value of non static variable.