How to get the max value of unsigned int in C

1 Answer

0 votes
#include <stdio.h>
#include <limits.h>
 
int main(void) {
    printf("%u", UINT_MAX);
    
    return 0;
}
 
 
 
/*
run:
 
4294967295
 
*/

 



answered Jan 4, 2021 by avibootz

Related questions

1 answer 183 views
2 answers 190 views
1 answer 132 views
1 answer 163 views
163 views asked Jul 4, 2020 by avibootz
1 answer 225 views
...