How to print intmax_t type in C

1 Answer

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

int main(void) {

	intmax_t x = 984371;

	printf("%ji\n", x);

	return 0;
}



/*
run:

984371

*/

 



answered Aug 2, 2022 by avibootz

Related questions

1 answer 192 views
1 answer 286 views
1 answer 260 views
260 views asked May 7, 2021 by avibootz
1 answer 190 views
190 views asked May 7, 2021 by avibootz
1 answer 1,093 views
2 answers 208 views
...