This message was edited by stober at 2005-8-8 16:48:40
: include <stdio.h>
:
: void xxx( int*, int);
: void main()
: {
: int x =4, y = 13;
: xxx(&x, y);
: printf("%d%d\n", x, y);
: }
:
: void xxx(int* x, int y)
: {
: *x += 4;
: y += 7;
: printf("%d%d\n", *x, y);
: }
:
:
: 820
: 813
:
: I cant understand why-
:
you need to separate the numbers with one or more spaces -- they are all run togethere.
: printf("%d %d\n", *x, y);