3 ms·Also, the return type being int means that there's a limit to the length of your string…by saagarjha 7y agoAlso, the return type being int means that there's a limit to the length of your string…