We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
"const &Box b" won't compile. Also, while I agree that "const Box &b" is best, if you do so, you don't create and destroy the proper number of boxes as the designer of the challenge intends.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Box It!
You are viewing a single comment's thread. Return to all comments →
"const &Box b" won't compile. Also, while I agree that "const Box &b" is best, if you do so, you don't create and destroy the proper number of boxes as the designer of the challenge intends.