+ 3

What is the use of #include <limits>

why we use this header file

28th Mar 2018, 4:25 PM
Atul Sati
Atul Sati - avatar
5 Answers
+ 5
Kinshuk Vasisht both links look the same to me
29th Mar 2018, 1:53 PM
David Akhihiero
David Akhihiero - avatar
29th Mar 2018, 5:53 PM
David Akhihiero
David Akhihiero - avatar
+ 4
Yerucham They look the same, but the link posted by šŸ‡®šŸ‡· M N was the C version of the header, while Atul Sati had asked for the C++ version. The C++ version, if you see, is template proof and offers more features than just notifying the value of standard type limits. šŸ‡®šŸ‡· M N has corrected the link now, though.
29th Mar 2018, 5:11 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 1
šŸ‡®šŸ‡· M N Thats the wrong link! This is the correct one : www.cplusplus.com/reference/limits
29th Mar 2018, 12:19 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
28th Mar 2018, 5:23 PM
šŸ‡®šŸ‡· M N