This is my personal collection of interview questions. Answers are not provided for many of them but can easily be found through online research. Good luck! :)
Saturday, 23 June 2012
Does compiler guarantee that initializers will be executed in the same order as they appear on the initialization list?
No. C++ compiler will always initialize your members in the same order as they fall in the declaration.
No comments:
Post a Comment