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

2 answers 294 views
1 answer 298 views
1 answer 244 views
1 answer 268 views
268 views asked Jul 4, 2020 by avibootz
1 answer 339 views
...