Bloomberg LP Interview Question
Software Engineer / DevelopersCountry: United States
I don't see any objects in there don't know about you guys. I only see one single class which will be compiled but, no memory will be allocated for it unless we create a variable from C. Such that we'll have exactly 1 byte allocated, with a compiler generated default constructor. Note that the compilers won't generate any methods unless you need them (Scott Meyers. Item 5 if I remember well). So in this particular case, no space is allocated, and no methods are generated
Size: 1 byte
- mag March 15, 2012Methods: (6)
Default constructor
Copy constructor
Copy assignment operator
Destructor
const AddressOf operator
non-const AddressOf operator