MIPI_BaseC_WebinarFRTK/09_Lecture09/08_sizeof_p27.c

13 lines
247 B
C
Raw Permalink Normal View History

2024-11-13 09:22:28 +03:00
#include <stdio.h>
#include <inttypes.h>
int main(void)
{
int a[5];
int *pa;
pa = a;
printf("sizeof(a) = %llu\n", sizeof(a));
printf("size a = %llu\n", sizeof(a)/sizeof(a[0]));
printf("sizeof(pa) = %llu\n", sizeof(pa));
}