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 194 views
1 answer 293 views
1 answer 268 views
268 views asked May 7, 2021 by avibootz
1 answer 197 views
197 views asked May 7, 2021 by avibootz
1 answer 1,100 views
2 answers 215 views
...