+ 1
What is out put?
int m=10,n=5; int *mp, *np; mp = &m; np = &n; *mp += *np; *np = *mp - *np; printf("%d %d \n%d %d\n", m, *mp, n, *np) ;
3 ответов
+ 2
Just run in code playground and see output
+ 1
15 15
10 10
I think that!
0
15 15
5 5
int m=10,n=5; int *mp, *np; mp = &m; np = &n; *mp += *np; *np = *mp - *np; printf("%d %d \n%d %d\n", m, *mp, n, *np) ;