MIPI_BaseC_WebinarFRTK/22_Seminar09/02_pointer_increase_p8.c

12 lines
164 B
C
Raw Normal View History

2024-11-13 09:22:28 +03:00
#include <stdio.h>
int main()
{
int a[5] = {10,20,30,40,50};
int *pa, n;
pa = a;
n = *pa+2; // a[0] + 2
printf("n = %d\n", n);
return 0;
}