How to define and use a list/array of chars using `Serial.print` I wish to define a list of months names and access it when printing a report. 

Array was defined as follows:

const char months []= 
{'Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'};

for (int i=0; i&lt;=11; i++) {

                                 Serial.print(months[i]);
                        }


Tries:

I was looking for help under Arrays in Arduino documentation didn't give, as far as I found, any explanation for such case, but arrays of int

Appreciate any help.
You are almost there:


Use a char* instead of char, a char can only contain one character
Use " instead of ' (Thanks Juraj)


Then you get:

const char* months[] =
 {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};