[Solved]Consider Function Named Reverse Reverses Given String Following Program Fill Six Blanks Co Q37249986

Explain the working logic and Output
Consider the function named reverse that reverses a given string in the following program. Fill in the six blanks to complete the implementation of reverse #include <stdio.h> #include <string.h> argv) int main( int argc, char char* reverset char str) i/”Reverses string strchar s(512): int n, h, j, k strepyl s, argv(1] ) printf( “Reverse: %sn”, reverse( s ) ); return 0, 1 / end main/ strlen( ); h (n/2); for ( jso, k (n-1); (j <h); j++,- strjk] – strül: 1/end for/ return end reverse Show transcribed image text Consider the function named reverse that reverses a given string in the following program. Fill in the six blanks to complete the implementation of reverse #include #include argv) int main( int argc, char char* reverset char str) i/”Reverses string strchar s(512): int n, h, j, k strepyl s, argv(1] ) printf( “Reverse: %sn”, reverse( s ) ); return 0, 1 / end main/ strlen( ); h (n/2); for ( jso, k (n-1); (j
Expert Answer
Answer to Consider the function named reverse that reverses a given string in the following program. Fill in the six blanks to com… . . .
OR

