Code to rotate a string not working
Hi Divyam, can you mention the exact name of the question or share the link of the question. Also, your code has many basic syntactical errors. The brackets of functions aren’t closed properly. Please check your code once.
Hi Divyam, there are couple of things missing in your code please complete them.
Also since you are passing a char* in your function then you cannot use strlen. You may use sizeof(a) / sizeof(a[0]) .