Answer: How to print __int128 in g++?

Answer: How to print __int128 in g++?

To print __int128, you must use __int128_tdata type. Because there is no data type named __int128. At least I didn’t find any till now.

And You must use “typecasting” every time in assigning value and outputting values.

you must use format specifier %lld for __int128_t
and %llufor…