How can I print maximum value of an unsigned integer?

后端 未结 8 661
失恋的感觉
失恋的感觉 2020-12-19 02:13

I want to print the maximum value of the unsigned integer which is of 4 bytes.

#include \"stdafx.h\"
#include \"conio.h\"

int _tmain(int argc, _TCHAR* argv[         


        
8条回答
  •  执笔经年
    2020-12-19 03:06

    You should use and then INT_MAX or whatever limit is appropriate for your type.

提交回复
热议问题