My C++ Quiz

The ultimate place to learn C++!

Question #36: What value gets printed by the program?

#include <iostream>

int main(int argc, char** argv)
{
  int x;

  x = 1, 2, 3;

  std::cout << x << std::endl;

  return 0;
}