In Python, we have floor division operator //
.
Is there any similar operator in C++?
Edit 1: In C++, Int Division is always floored but integer division rounds toward 0 instead of Flooring. So, to handle all data limitations what should be an ideal function in C++?