Reverse a string using pointers: #include void rev(char *str) { char *r_ptr = str; while (*(r_ptr + 1) ! ... c Write a program to reverse an array or string.
確定! 回上一頁