Is there any code to find the maximum value of integer (accordingly to the compiler) in C/C++ like Integer.MaxValue
function in java?

Is there any code to find the maximum value of integer (accordingly to the compiler) in C/C++ like Integer.MaxValue
function in java?