• + 2 comments

    I am using #c and trying take a string input with commands-

    char t[1001]; fgets (t, 1000, stdin);

    It did not give any error, but t remains an empty string. Any thoughts