@cnicutar is pretty close, but you probably only want to start reading something other than white, and you want to stop reading one word when you fall into a space, so for you, scanning, you probably want something more
while(scanf(" %49[^ \t.\n]%*c", i)) {
. , , , . % * c ( ) ( , ).
, , , / , % c , . , .