#include <stdio.h>
void main() {
int nums[5]={11, 22, 33, 44, 55};
int *ptr = nums +1;
int i;
for (i=0; i<4; i++)
printf("%d ", *ptr++); //ptr의 처음은 nums[1]이므로 22, 33, 44, 55가 출력됨
}
To embed this project on your website, copy the following code and paste it into your website's HTML: