Reading a input stream assigning 1 thru 6 character to a str1 variable
using memmove function like this
somtimes what happens is i get str1 value more than 6
for example :-
According to this
I should get str1="abcdef" but in sometime i get str1=""abcdefgh"
Could you please help me out of this,