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 105 views
1 answer 179 views
1 answer 182 views
182 views asked May 7, 2021 by avibootz
1 answer 116 views
116 views asked May 7, 2021 by avibootz
1 answer 982 views
1 answer 87 views
...