can we compare a long long int with int in c++ using max or min functions

C++
// No we can't compare , overflow occurs
Source

Also in C++: