is swap function is predefined int he code without using the STL?
Rotate image problem
yes its inbuilt function in c++ @Ritesh_jindal
you can either make your own or directly call it. in the sir code is inbuilt stl.
dont forget to mark doubt resolved and hit like if cleared 