問1 
for(;i<lim-1 && (c=getchar())!='\n' && c!=EOF;)を&&を使わずに書け。

自分の解答
for(;!(i<lim-1 || (c=getchar())!='\n' || c!=EOF);

/* 俺ってバカなのでしょうか・・・? */