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 115 views
1 answer 187 views
1 answer 186 views
186 views asked May 7, 2021 by avibootz
1 answer 125 views
125 views asked May 7, 2021 by avibootz
1 answer 987 views
2 answers 103 views
1 answer 97 views
...