Hi, I've been trying to read to a string with spaces using the following
However, it is not working since it doesn't let me input any thing and just moves on to the next command... any ideas on what I might be doing wrong?Code:scanf("%[^\n]%*c", student->name);
Thanks in advance!!