#include <stdio.h>main (){ int x[8]= {1, 2, 3, 4, 5, 6, 7, 8 };int *p=x;for (;p<x+8; p++)if (*p%3==0 ) printf (“%d\n”, *p);} 输出结果为:
答案是36