How to print unsigned int using printf in C

1 Answer

0 votes
#include <stdio.h>

int main() {
    unsigned int num = 35341257;
    
    printf("%u", num);
}
   
   
   
/*
run:
   
35341257
   
*/

 



answered Dec 29, 2023 by avibootz

Related questions

1 answer 217 views
1 answer 179 views
1 answer 124 views
2 answers 217 views
217 views asked Jan 4, 2021 by avibootz
1 answer 168 views
4 answers 581 views
2 answers 191 views
...