How does this expression work? Basically the \n in scanf()
Is there any article which gives a detailed working of scanf()? Why many times the enter key remains in the buffer while other times it gets removed automatically??Code:int main() { int i; scanf("%d\n",&i); }