chương trình này bị lỗi gì vậy?
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<string.h>
int main()
{
printf("nhap vao mot so: ");
char *aa;
aa=(char *)malloc(100);
if(aa==NULL)
{
printf("error
");
getch();exit(1);
}
else
{
aa="hello!";
char *ac;
ac="welcome!";
printf("str1:%s
str2:%s",aa,ac);
strcpy(aa,ac);
printf("%s
",aa);
getch();
return 0;
}
}