#include <iostream.h>
#include <stream.h>
main()
{
int a = 10;
int *intptr = &a;
cout << "a wird bei der Adresse " <<
form("%x", intptr) << " gespeichert"
<< " und hat den Wert " << a <<endl;
}
| © 1997 Gottfried Rudorfer, C++-AG, Lehrveranstaltungen, Abteilung für Angewandte Informatik, Wirtschaftsuniversität Wien, 1/11/1999 |