mirror of
https://github.com/Manoj-HV30/dsa-competitive-programming.git
synced 2026-05-16 19:35:22 +00:00
Revise notes on integer limit macros
Updated notes on integer limit macros and included modern alternatives.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
INT_MAX, INT_MIN are called integer limit macros or more generally type limit constants.(compile-time constants)
|
||||
defined in #include <climits>
|
||||
defined in #include climits
|
||||
|
||||
Modern Alternative:
|
||||
|
||||
#include <limits>
|
||||
#include limits
|
||||
|
||||
numeric_limits<int>::max();
|
||||
numeric_limits<int>::min();
|
||||
|
||||
Reference in New Issue
Block a user