INT_MAX,INT_MIN INITIALIZATION

hi sir , plz tell why we INT_MAX initialize with smaller number
and INT_MIN for largest number?

hello @parasjain7086

we want to initialise with value that can be easily replaced by value in array.
so for max we intialise it with int_min so that any number in array will be greater that int_min ands hence it will easily replaced.
same logic for min