#include <stdio.h>

struct teststruct
{
int x,y,z;
};
void func(struct teststruct *test[]);
int main()
{
struct teststruct test[8];
test[1].x=8;
func(&test[1]);


}
void func(struct teststruct *test[])
{
printf("%d" , test[1]->x);
}

何度もすいませんけど
メイン関数内のtest[1]の内容を関数func()の中で見たいんですけど
どうしたらいいのでしょうか?
上の様にすると実行中に
test1.exe の 0x00411af4 でハンドルされていない例外が発生しました
: 0xC0000005: 場所 0xcccccccc を読み込み中にアクセス違反が発生しました。 。
と出てきます