Rotated image in clockwise

for i 1 to n
for j=n to 1 j–
cout<<a[j][i]
that is true ya wrong
method

hello @Prakhar2810

yeah it is correct,but it will not make any change in the array.

Hey @Prakhar2810 I guess your doubt is resolved but you have revoked it again. I would request if your doubt is solved then mark it as resolved, if not then you can ask your doubt again :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.