home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C by Discovery (4th Edition)
/
C_By_Discovery_4th_Edition.tar
/
C_By_Discovery_4th_Edition
/
_DISK_
/
ch4
/
address1.c
next >
Wrap
C/C++ Source or Header
|
2005-06-16
|
442b
|
19 lines
/* address1.c
*
* Synopsis - Prints the address of a variable.
*
* Objective - Illustrates addresses in memory and C's ability
* to display them.
*/
/* Include Files */
#include <stdio.h>
int main( void )
{
int intvar;
printf( "The values of intvar are stored in the memory" );
printf( " location %p.\n", &intvar ); /* Note 1 */
return 0;
}