#include<stdio.h>

int main() {

  /*** Data definition section ***/
  char *indata, *fixstr;                 /* allocate pointers for strings */
  indata = (char*) malloc(8 * sizeof(char)); /* allocate indata (8 bytes) */
  fixstr = (char*) malloc(8 * sizeof(char)); /* allocate fixstr ( ""    ) */

  strncpy(fixstr, "happy", 6);                      /* put data in fixstr */


  /*** Input section ***/
  printf ("Welcome to my program.  Enter your name: ");         /* prompt */
  scanf ("%s", indata); /* read in data from the user */


  /*** Output section ***/
  printf ("Hello, %s.  I am %s to meet you!\n", indata, fixstr); /* Greet. */

  return(0);
}

