What is the use of "," in while loop condition c++?

Viewed 407
string command;
string bookName;
while (cin >> command, command != "END")
{...}

Here in while loop's condition, there is a comma. I know that multiple conditions can be added using && or ||.

But why use ,?

Is there any certain benefits? Can you please explain the usage and syntax?

1 Answers
Related