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 294 views
1 answer 273 views
1 answer 221 views
2 answers 315 views
315 views asked Jan 4, 2021 by avibootz
1 answer 251 views
4 answers 760 views
2 answers 299 views
...