Mega Code Archive

 
Categories / C++ Tutorial / Operators Statements
 

Comma operator

#include <iostream>  using namespace std;    int main()  {    int i, j;      j = 10;      i = (j++, j+100, 999+j);      cout << i;      return 0;  } 1010