#include<stdio.h>
typedef struct{
char moziretu[40];
}PE;
void nyuuryoku(PE *p);
int main(void)
{
int i;
PE a[990];
nyuuryoku(a);
return 0;
}
void nyuuryoku(PE *p)
{
int b;
for(b=0;2>b;b++)
{
printf("文字列を入力\n");
scanf("%s",(p+b)->moziretu);
}
}このプログラムです