comment saisir jusqu'à la fin de la ligne en c

while((scanf("%d",&n)) != EOF) { printf("%d",n); //other operations with n.. }
Amused Aardvark