성적을 입력받아 출력하는 프로그램인데

실행 중간에 오류가 납니다 ㅠㅠ

왜 이런걸까요? 도움좀 주세요






#include <stdio.h>

int main()
{

typedef struct INFO{
int k;
char a[32];
char b[32];
int c;
char d[32];
int e;};
int k;
char a[32];
char b[32];
int c;
char d[32];
int e;
int i=0;
struct INFO infoList[1024];
int count=0;
do
{
printf("1. insert \n2. List \n3. Remove \n4 .Exit \nselect a command : ");
scanf_s("%d", &k);
if(k==1)
{
printf("ID :");
scanf_s("%s",infoList[count],&a);
printf("Name :");
scanf_s("%s",infoList[count],&b);
printf("Age :");
scanf_s("%d",infoList[count],&c);
printf("Course :");
scanf_s("%s",infoList[count],&d);
printf("Score :");
scanf_s("%d",infoList[count],&e);
printf("Inserting OK!!\n");
count ++;
}

if(k==2)
{
printf("ID\tName\tAge\tCourse\tScore \n");
for(i=0; i<count; i++){
printf("%s\t", infoList[i], a);
printf("%s\t", infoList[i], b);
printf("%d\t", infoList[i], c);
printf("%s\t", infoList[i], d);
printf("%d\t\n", infoList[i], e);

}}

if(k==3)
{
printf("Selected Remove\n");

}


}

while (k<4);

puts("Exit");


return 0;

}