// testCString.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "stdio.h"
#include "string.h"
int main(int argc, char* argv[])
{
char* str1 = "wDFSFDSaodfafdsaf";
char str2[10];
strcpy(str2,str1);
printf("Hello World!\n");
return 0;
}
//
#include "stdafx.h"
#include "stdio.h"
#include "string.h"
int main(int argc, char* argv[])
{
char* str1 = "wDFSFDSaodfafdsaf";
char str2[10];
strcpy(str2,str1);
printf("%s\n",str2);//wDFSFDSaodfafdsaf
printf("Hello World!\n");
return 0;
}