#define _STDC_WANT_LIB_EXT1_ 1
#include<stdio.h>
#include<string.h>
int main()
{
char ch[][40]={
"This is the first.",
"This is the second.",
"This is the third."
};
strcat_s(ch[1],sizeof(ch[1])+1,ch[3]);
printf("\"%s\",ch[1]");
strcpy_s(ch[2],sizeof(ch[2],ch[1]),sizeof(ch[1]));
printf("\"%s\"",ch[2]);
printf("The ch[1] size is %zd",strlen_s(ch[1],sizeof(ch[1])));
if(strcmp_s(ch[1]<ch[2]))
printf("The ch[1]:\"%s\" is greater the char[2]:\"%s\"",ch[1],ch[2]);
return 0;
}

#include<stdio.h>
#include<string.h>
int main()
{
char ch[][40]={
"This is the first.",
"This is the second.",
"This is the third."
};
strcat_s(ch[1],sizeof(ch[1])+1,ch[3]);
printf("\"%s\",ch[1]");
strcpy_s(ch[2],sizeof(ch[2],ch[1]),sizeof(ch[1]));
printf("\"%s\"",ch[2]);
printf("The ch[1] size is %zd",strlen_s(ch[1],sizeof(ch[1])));
if(strcmp_s(ch[1]<ch[2]))
printf("The ch[1]:\"%s\" is greater the char[2]:\"%s\"",ch[1],ch[2]);
return 0;
}
