Tutorial 1_12

Der Addressoperator

______________________________________________________________________
// 1_12 Der Addressoperator

#include <stdio.h>
int a, b, c;
#define x " hat die Addresse %d\n"  

void main(void)
{
    int d, e, f;
    {
        int g, h, i;
        float j, k, l;
        char m, n, o;
        short p, q, r;
        double s, t, u;
        printf("a"x"b"x"c"x
            "d"x"e"x"f"x
            "g"x"h"x"i"x
            "j"x"k"x"l"x
            "m"x"n"x"o"x
            "p"x"q"x"r" x "\n"
            "s"x"t"x"u"x,

            &a, &b, &c,
            &d, &e, &f,
            &g, &h, &i,
            &j, &k, &l,
            &m, &n, &o,
            &p, &q, &r,
            &s, &t, &u);
    }
}
______________________________________________________________________
Zurück