reverse string efficient in cpp without using function

Solutions on MaxInterview for reverse string efficient in cpp without using function by the best coders in the world