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 >
C/C++ Source or Header  |  1993-10-16  |  320b  |  14 lines

  1. /*  Demonstrates pointer arithmetic with pointers */
  2. /* to multidimensional arrays. */
  3. #
  4.  #include <stdio.h>
  5.  
  6. int multi[2][4];
  7.  
  8. main()
  9. {
  10.      printf("\nThe value of (multi) = %u", multi);
  11.      printf("\nThe value of (multi + 1) = %u", (multi+1));
  12.      printf("\nThe address of multi[1] = %u", &multi[1]);
  13. }
  14.