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 201 views
1 answer 167 views
1 answer 115 views
2 answers 208 views
208 views asked Jan 4, 2021 by avibootz
1 answer 159 views
4 answers 569 views
2 answers 177 views
...