what does it means?
int a; int b; int sum; cout << "enter a number \n"; cin >> a; cout << "enter another number \n"; cin >> b; sum=a+b; cout << "sum is:" << sum << endl; WHY"<< endl"???
endl is used similarly to \n except that it clears the output buffer whereas \n does not.
what is an output buffer