Move all x to end


the code is giving compilation errors…in string temp
and int count due to & sign that i used while passing them as parameters…but i think there is nothing wrong in passing them as parameters.

Hi @dakshi
here is d updated code.


try declaring temp string globally
Hope dis helps