On Mon, Aug 12, 2019 at 9:37 AM Ali MURAT <alimupas2@xxxxxxxxx> wrote: [...] > however, for 9 number it must be returned "Toplam: 1052287461225" That number is too big to be stored in a single 32-bit variable. The easiest is to use `long long unsigned' for all variables to have 64-bit variables. That too, however, has its limit. For larger value, use a library such as https://gmplib.org/ Aside from that, this question is off-topic for this mailing list, which deals with questions specific to GCC. You can try the mailing list of gmplib.org instead. -- Best regards, Tadeus