Sir pls tell whats the error in this code

@Vaibhav277

  1. mistake in line 13, it should be while(a[j]!=’\0’){
  2. change line 19 to moveXtoEnd(a,temp+1); otherwise your code might stuck in infinite loop

sir still not working

@Vaibhav277
plz submit the code, So that i can see your updated code.

@Vaibhav277
This code is for some other question. I think you have solved this question successfully. Please mark this doubt as resolved.