Assignment Printf() and Scanf() Q4

• #include<stdio.h>
2
3 int main()
4 {
5         long k;
6         long l;
7         long q;
8         long e;
9     long double j;
10      long m;
11         float n;
12         long p,g;
13         int a,b,o;
14         a=125;
15         b=12345;
16         char c='W';
17         short s=4043;
18         float x=2.13459;
19         double dx=1.1415927;
20         long ax=1234567890;
21         unsigned long ux=2541567890;
22
23
24         l=a+c;
25         k=x+c;
26         j=dx+x;
27         m=dx+ax;
28         n=a+x;
29         o=s+b;
30         p=ax+b;
31         q=s+c;
32         e=ax+c;
33         g=ax+ux;
printf("the addition of a and x is %d + %f=%f\n",a,x,n);
37         printf("the addition of x and c is %f + %c=%X\n",x,c,k);
38         printf("the addition of s and b is %u + %d=%d\n",s,b,o);
39         printf("the addition of a and c is %d + %c=%X\n",a,c,l);
40         printf("the addition of s and c is %u + %c=%X\n",s,c,q);
41         printf("the addition of dx and x is %lf + %f=%Lf\n",dx,x,j);
42         printf("the addition of dx and ax is %lf + %ld=%lf\n",dx,ax,m);
43         printf("the addition of ax and b is %ld + %d=%Ld\n",ax,b,p);
44         printf("the addition of ax and ux is %ld + %lu=%ld\n",ax,ux,g);
45         printf("the addition of ax and c is %ld + %c=%X\n",ax,c,e);
46
47         return 0;
48
49 }
50
Why i am getting this output

the addition of a and x is 125 + 2.134590=127.134590
the addition of x and c is 2.134590 + W=59
the addition of s and b is 4043 + 12345=16388
the addition of a and c is 125 + W=D4
the addition of s and c is 4043 + W=1022
the addition of dx and x is 1.141593 + 2.134590=3.276183
the addition of dx and ax is 1.141593 + 1234567890=0.000000
the addition of ax and b is 1234567890 + 12345=1234580235
the addition of ax and ux is 1234567890 + 2541567890=3776135780
the addition of ax and c is 1234567890 + W=49960329