how to read string until new line in c code example
Example: how to input till end of line in c
while((scanf("%d",&n)) != EOF) { printf("%d",n); //other operations with n.. }
while((scanf("%d",&n)) != EOF) { printf("%d",n); //other operations with n.. }