Check out example codes for "can we compare a long long int with int in c++ using max or min functions". It will help you in understanding the concepts better.

Code Example 1

// No we can't compare , overflow occurs

Learn ReactJs, React Native from akashmittal.com