I have tried and tried with this question. I can't seem to get anywhere. Please help!
1 2 3 4 5 6
/*Using the calloc() function, write a program that reads */
/*a user's name from stdin. Use a loop to iterate through the memory*/
/*allocated counting the number of characters in the user's name. The*/
/*loop should stop when a memory segment is reached that was not used*/
/*in reading and storing the user's name. (Remember, calloc() initializes*/
/*all memory allocated.) Print to stdout the number of characters in the user's name.*/
Here's what I've come up with but it isn't even close: