Ok, this is really basic, but I'm not sure why this doesn't work:
And I'm not sure if the problem is with the %li in the printf or with the resulting long getting too big for the long type?Code:long a = 1134903170; long b = 1836311903; printf("Stort tall: %li\n", a+b);