summaryrefslogtreecommitdiff
path: root/char_array2.c
blob: 43a69aa86420ac29c4d4afe3ffe1252a7b5f152a (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <string.h>

int main(int argc, const char *argv[])
{
  char message[20];
  strcpy(message, "hello, world!");
  printf("%s", message);
  return 0;
}