#include <stdio.h> #include <string.h> void swapstring( char temp_str[] ) { int start = 0; int end = str_len - 1; char temp_char; while( start < end ) { temp_char = temp_str[end]; temp_str[end] = temp_str[start]; temp_str[start] = temp_char; start++; end--; } } int main(void) { // your code goes here unsigned char temp_str[] = "hello world"; swapstring(temp_str); return 0; }