Input 10 test. Output: x = 10, str = The problem with above code is scanf() reads an integer and leaves a newline character in buffer.
確定! 回上一頁