How to print a int64_t type in C

1 Answer

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

int main() {
    int64_t i64 = 9223372036854775807;

    printf("%" PRId64 "\n", i64);

    return 0;
}




/*
run:

9223372036854775807

*/

 



answered May 7, 2021 by avibootz

Related questions

1 answer 193 views
193 views asked Aug 2, 2022 by avibootz
1 answer 286 views
1 answer 261 views
261 views asked May 7, 2021 by avibootz
1 answer 1,093 views
2 answers 210 views
1 answer 169 views
...