I want to rotate the bits of the no in my code for odd it not giving correct o/p example for 5->101>right circular shift->110->011->101 please remove error?
@kailash_01 firstly in your return statement you are not using the symbol for logical or ie || correctly. Now for the question, I don’t understand what question you are trying to do and what logic you are using, so please elaborate a bit.