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 113 views
1 answer 184 views
1 answer 183 views
183 views asked May 7, 2021 by avibootz
1 answer 123 views
123 views asked May 7, 2021 by avibootz
1 answer 985 views
1 answer 94 views
...