The post-increment operator in loop condition

Question | Apr 26, 2016 | hkumar 

enter image description here

What is the output of this code?

int arr[4] = { 0,1,2,3 };
int x = 0;
while(x++ < 3)
  std::cout << arr[x];