Financial Data Interview Questions

56,982 financial data interview questions shared by candidates

read the following code and tell me the output, and is there anything wrong about it? #include <iostream> class A { public: A() { foo(); } virtual void foo(int a = 10) { std::cout << "A = " << a << std::endl; } }; class B : public A { public: B() { foo(); } virtual void foo(int b = 20) { std::cout << "B = " << b << std::endl; } }; int main() { A* aPtr = new B(); aPtr->foo(); delete aPtr; return 0; }
avatar

Financial Software Developer

Interviewed at Bloomberg

4
Jul 2, 2015

read the following code and tell me the output, and is there anything wrong about it? #include <iostream> class A { public: A() { foo(); } virtual void foo(int a = 10) { std::cout << "A = " << a << std::endl; } }; class B : public A { public: B() { foo(); } virtual void foo(int b = 20) { std::cout << "B = " << b << std::endl; } }; int main() { A* aPtr = new B(); aPtr->foo(); delete aPtr; return 0; }

How would you prioritize addressing questions asked by a CEO who wants to understand how to use a function on the terminal, a portfolio manager who can't process a trade, and a new employee who needs a tutorial on how to access certain charts and data.
Dec 24, 2021

How would you prioritize addressing questions asked by a CEO who wants to understand how to use a function on the terminal, a portfolio manager who can't process a trade, and a new employee who needs a tutorial on how to access certain charts and data.

Viewing 1931 - 1940 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 56,982 interview questions and reports from Financial data interviews. Prepare for your interview. Get hired. Love your job.