13 lines
227 B
C
13 lines
227 B
C
#define __STDC_WANT_LIB_EXT1__ 1
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
void main( void )
|
|
{
|
|
char buffer[80];
|
|
|
|
memcpy_s( buffer, sizeof( buffer ), "Hello", 5 );
|
|
buffer[5] = '\0';
|
|
printf( "%s\n", buffer );
|
|
}
|