home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C Programming Starter Kit 2.0
/
SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso
/
tyc
/
list15_3.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-10-16
|
320 b
|
14 lines
/* Demonstrates pointer arithmetic with pointers */
/* to multidimensional arrays. */
#
#include <stdio.h>
int multi[2][4];
main()
{
printf("\nThe value of (multi) = %u", multi);
printf("\nThe value of (multi + 1) = %u", (multi+1));
printf("\nThe address of multi[1] = %u", &multi[1]);
}