como inserir até o final da linha em c
while((scanf("%d",&n)) != EOF) { printf("%d",n); //other operations with n.. }
Amused Aardvark
while((scanf("%d",&n)) != EOF) { printf("%d",n); //other operations with n.. }