新手请教c程序哪里错了
#include<stdio.h>#include<conio.h>
struct person
{
char name[20];
int age;
char email[50];
};
main()
{
struct person zhuchao={"zhuchao",17,"9405@);
strtct person lisi={"lisi",18,"90876566@);
lisi=zhuchao;
printf("lisi's name:%s\n",lisi.name);
printf("lisi's age:%d\n",lisi.age);
printf("lisi's email:%s\n",lisi.email);
getchar();
} 和下面一个 #include<stdio.h>
#include<conio.h>
main()
{
char sz[]=" I Love china";
printf("%s\n",sz);
printf("请重新输入一个字符串,不多于12个字符\n" );
scanf("%s",sz);
printf("修改后的字符串为:%s\n",sz);
getchar();
}
谢谢。。。