# Array of strings in C?

**URL:** <https://forum.kirupa.com/t/array-of-strings-in-c/199371>\
**Category:** random\
**Created:** [September 1, 2006, 6:40pm UTC](https://forum.kirupa.com/t/array-of-strings-in-c/199371 "2006-09-01T18:40:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MTsoul](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@MTsoul](https://forum.kirupa.com/u/MTsoul)\
**Post date:** [September 1, 2006, 6:40pm UTC](https://forum.kirupa.com/t/array-of-strings-in-c/199371/1 "2006-09-01T18:40:43Z")

</div>

Hello,

(I searched the forums and Google and found nothing.) How do I make an array of string in C? I got something like

char \* array[] = { “one”, “two”, “three” };

but it won’t compile. I tried array[][] as well and it won’t compile either. How is this possible?

I don’t want to use strcpy or anything. I want a one-liner.

TIA
