为什么我输入AA后就结束了,而不让我输入BB呢,求大神讲解~~~~
#include <stdio.h>struct creditCard
{
int cardNo;
char name;
char ID;
char password[20];
int flag;
float account;
int integral;
}CCard;
int main ()
{
printf("请输入AA");
scanf("%c",&CCard.name);
printf("请输入BB");
scanf("%c",&CCard.ID);
printf("%c%c",CCard.name,&CCard.ID);
return 0;
}