How to print uintmax_t in C

1 Answer

0 votes
#include <stdio.h>
#include <stdint.h>

int main() {
    uintmax_t uimax = 7597841350;

    printf("%ju\n", uimax);

    char ch = getchar();

    return 0;
}




/*
run:

7597841350

*/

 



answered Apr 10, 2022 by avibootz
edited Apr 10, 2022 by avibootz

Related questions

1 answer 97 views
97 views asked Apr 10, 2022 by avibootz
1 answer 94 views
94 views asked Apr 10, 2022 by avibootz
...