Pointer arithmetic with pointers to multidimensional arrays. - C Array

C examples for Array:Multidimensional Arrays

Description

Pointer arithmetic with pointers to multidimensional arrays.

Demo Code

#include <stdio.h>

int multi[2][4];//  ww  w .j  ava  2s  . c o m

int main( void )
{
   printf("\nThe value of (multi) = %u", multi);
   printf("\nThe value of (multi + 1) = %u", (multi+1));
   printf("\nThe address of multi[1] = %u\n", &multi[1]);

   return 0;
}

Related Tutorials