example-1.1.c
example-1.1.c · 416 B
From the archive c_pointers_examples.tar.gz
Download the archive « Back to the archive contents
#include <stdio.h>
int main()
{
char x = 'a';
char y = 'b';
char z = 'c';
/**********************************************
* Uncomment the following lines to see the *
* actual memory addresses of these variables *
*********************************************/
//printf( "char x is at: %p\n\r"
// "char y is at: %p\n\r"
// "char z is at: %p\n\r", &x, &y, &z );
return 0;
}