Bloomberg LP Interview Question for Financial Software Developers






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

The difference in question might be "in header file, if declared static, the variable would be of global file scope".

- Dilip September 26, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Static variable should never be in a header file - by definition. Static means the varible will have local linkage. From interface design point of view it means that the variable is part of the implementation which you don't want to expose in the interface. Static variables in .h don't make any sense.

- bloombergoid September 05, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

You can declare a static in header. But when you include the header in the file, each file have a private copy of the static variable.

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

to use class static variable we have to use scope resolution operator

- ridercoder October 17, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

wrong

- bloombergoid September 05, 2011 | 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