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 193 views
2 answers 202 views
1 answer 141 views
1 answer 174 views
174 views asked Jul 4, 2020 by avibootz
1 answer 238 views
...