Bloomberg LP Interview Question for Financial Software Developers






Comment hidden because of low score. Click to expand.
0
of 0 vote

Starting 2 bytes of the object.

- Rohan October 13, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

A class that contains virtual function would add 4 bytes to the size of class,hence sizeof(vptr)= 4 bytes.

- Ano October 13, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

since VPTR is a pointer to a VTabe, the size of VPTR should be equal to sizeod(int *) or size of(char *), which should be the sizeof(long) = 4

- Anonymous November 01, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

When a class object is created, vptr is set to point to the virtual table for that class...so VPTR shld be stored in object memory...

- JackMaster January 10, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

When a class object is created, vptr is set to point to the virtual table for that class...so VPTR shld be stored in object memory...

- JackMaster January 10, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

size of vptr depends of machine......for 32 bit machine it is 32 bit(4 byte ) and for 64 bit machine it is 64 bit ( 8 byte )

- sumit February 22, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

correct...

- beyondfalcon August 28, 2010 | Flag


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More