// Compile: cc -std=c23 test_7_23_string.c
#include <string.h>
#include <assert.h>

int main(void){
  char a[8]; memset(a, 0, sizeof a);
  strcpy(a, "hi");
  assert(strlen(a) == 2);
  assert(memcmp(a, "hi", 2) == 0);
  return 0;
}
