From the above screenshot you can observe that, str[] = Hello j = 0 len = strlen(Str) = 5. The strlen is a string function used to find the string length. Let us the programming flow of reverse a string C