title: Creating a random story generator using pointers and arrays to deal with strings
body: <p>I am trying to figure out how I should structure my next lab for programming class. Here's what I have so far. Questions go line by line:</p>
  
  <pre><code>int main()
  {       
      char name, color, person; //color, pet and car are the only arrays. The rest will be read in
      int age;
  
      const char* pet[5]={"dog", "cat", "bird", "snake", "monkey"}; //not sure how to set up these pointers...
      const char* car[5]={"porsche 911", "honda prelude", "toyota prius", "shelby mustang"};
  
      printf("What is your name?   \n");
      scanf("%c", &amp;name);
      printf("How old are you?  \n");
      scanf("%d", &amp;age);
      printf("What is your favorite color?  \n");
      scanf("%c", &amp;color);
      printf("What is the name of your best friend?  \n");
      scanf("%c", &amp;person);
  
  
      printf("%c is an awesome person.\n", name);
      printf(" They are currently %d years old and drive a %c %s.\n", age, color, car[5]); // trying to reference array in text
      printf(" %c 's best friend, %c, picks them up in a %s and drives them over to see their pet %s", name, person, car[5], pet[5]); // trying to reference array in text
  
      pet[5]=srand(time(NULL));// Where should this go? do I need one to reference each array?
      car[5]=srand(time(NULL));
  
      system("Pause");
      return 0;
  }
  </code></pre>
  
  <p>Updated 4:17 10/22. The only compiling error I am receiving now is relating the arrays to the srand function</p>