Question:

Will "Hello World" be printed by the program below?

struct Foo
{
  int x;
  int y;
};

int main(int argc, char** argv)
{
  Foo f;

  if ( &f.x < &f.y )
  {
    std::cout << "Hello World" << std::endl;
  }

  return 0;
}

Answers:


Keywords:

© 2017 QuizBucket.org