My C++ Quiz

The ultimate place to learn C++!

Question #50: What is the output of the program?

#include <iostream>

int main(int argc, char** argv) 
{ 
  // assume address of x is 0x822222222
  int x = 3;

  int*& rpx = &x;

  std::cout << rpx << std::endl;
  
  return 0; 
}