MIPI_BaseC_WebinarFRTK/09_Lecture09/08_sizeof_p27.c
2024-11-13 09:22:28 +03:00

13 lines
247 B
C

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