defines a pointer to a char. the & symbol means "the address of", so
"&data" means "the address of the variable data". Pointers are merely
addresses, so since data is a pointer, &data is a pointer to a pointer
(i.e. & is the address of where a pointer is stored, or & points to data
which points to something else).

How do I do the same thing if I've
UAM * data;

Above you have declared a pointer that points to a variable of type UAM.

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].