0

For example:

char *t;

printf("Enter the value of t: ");

How can I save the user input into t? What can I do next?

4
  • Do you want to read a string? Commented Feb 23, 2013 at 1:41
  • Does the dynamic array need to be the exact size of the input? Commented Feb 23, 2013 at 1:52
  • @CarlNorum Yes, and put it on t, without prevously knowing the lenght of it. Commented Feb 23, 2013 at 2:01
  • 1
    Time to get out that C book and learn the language. Commented Feb 23, 2013 at 2:08

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.