home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C Programming Starter Kit 2.0
/
SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso
/
tyc
/
list15_2.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-16
|
322b
|
13 lines
/* Demonstrates the sizes of multidimensional array elements. */
#include <stdio.h>
#
int multi[2][4];
main()
{
printf("\nThe size of multi = %u", sizeof(multi));
printf("\nThe size of multi[0] = %u", sizeof(multi[0]));
printf("\nThe size of multi[0][0] = %u", sizeof(multi[0][0]));
}