multmath.c

来自「c21Examples.rar」· C语言 代码 · 共 17 行

C
17
字号
/*  Demonstrates pointer arithmetic with pointers */
/*  to multidimensional arrays. */

#include <stdio.h>

int multi[2][4];

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;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?