Bloomberg LP Interview Report
- 0of 0 votes
Answers//online Test
- TopCoder February 21, 2010
CLASS A{
PUBLIC :
INT &I;
INT J;
A(){
INT J;
I = J;
}
};
//Where to init reference , in member init list or ctor| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 2 votes
Answers//Online Test
- TopCoder February 21, 2010
extern void print(int *ia, int sz);
void print(int *ia, int sz);
Q. Will it compile| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
Answers//Online Test
- TopCoder February 21, 2010
class Base {
public :
virtual void method () = 0;
private :
int n;
};
void Base::method() { n = 1;}
class D1 : Base {};
class D2 : public D1{
int i;
void method() {i = 2;}
};
Q.Does it compile , what will it have to add to compile| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++ - 0of 0 votes
Answers//Online Test
- TopCoder February 21, 2010
struct A{
int i , j;
A(int ii , int jj) :i(ii),j(ii){}
A(const A&a){
cout << a.i << a.j;
}
void operator = (const A& a){
cout <<a.i << a.j
}
};
Q. A a(1,2);
A b(2,3);
A z = (a = b);
what will be output| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer C++
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.