halo all,
i just wanna know, am i correct in these thinkings regarding buffers.
1. scanf keeps the newline in the buffer, so that the next time gets, fgets or any other char inputting functions are used they will read this newline kept in the buffer,resulting in unwanted behavoiur.is this true for getchar also.
2.gets and fgets doesn't keep the characters in the buffer.
hope ,you understand my questions.
Thank You