Consider following use of C++ dynamic_cast:
struct A
{
virtual void Foo() { std::cout << "A"; }
};
struct B : public A
{
void Foo() { std::cout << "B"; }
};
A* aPtr = new A();
B* bPtr = dynamic_cast<B*>(aPtr);
Select the appropriate outcome of above dynamic_cast operation from given choices: