Bloomberg L.P. Interview Question
720 Interview Reviews |
Back to all Bloomberg L.P. Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for Financial Software Developer at Bloomberg L.P.:
template<class T1; class T2; class T3> int Product (T1 a, T2 b, T3 c) { return a * b * c; } What is the error in the sample code above?
See more for this Bloomberg L.P. Financial Software Developer Interview
Helpful Question?
Yes |
No
Inappropriate?
Answers & Comments (4)
Helpful Answer?
Yes |
No
Inappropriate?
Helpful Answer?
Yes |
No
Inappropriate?
Helpful Answer?
Yes |
No
Inappropriate?
Members can
answer or comment on this question
–
Join Now (It's Free) or
Sign In
0 of 0 people found this helpful
by N/A:
template<class T1; class T2; class T3> Should use , not ; between the types here
Tutorial Example:
template <class T, class U>
T GetMin (T a, U b)
{
return (a<b?a:b);
}