• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <stdlib.h>
2 #include <string.h>
3 #include <stdio.h>
4 
main(void)5 int main(void) {
6   void *buf = calloc(14, sizeof(int));
7   strcpy(buf, "Hello, world!");
8   printf("%s\n", buf);
9   free(buf);
10 }
11