#include "stdafx.h"
typedef char* PCHAR;
int main(int argc, char* argv[])
{
PCHAR str;
char s[]="Hello World!";
str = s;
printf("%s\n",str);
return 0;
}
输出:
Hello World!
#include "stdafx.h"
typedef char* PCHAR;
int main(int argc, char* argv[])
{
PCHAR str;
char s[]="Hello World!";
str = s;
printf("%s\n",str);
return 0;
}
输出:
Hello World!