user57819: I got this error:
exit status 1 stray '#' in program

How can I remove this error..?
int keys = {1,2,3,A,4,5,6,B,7,8,9,C,*,0,#,D};


user16780: There are several -more or less severe- issues in your one line of code
const char keys[] = {'1','2','3','A'
                    ,'4','5','6','B'
                    ,'7','8','9','C'
                    ,'*','0','#','D' };

( Find the differences :) )
Depending on your usage, you eventually even need a 2-dimensional array
const char keys[4][4] =  ...


57819: <p>I got this error:</p>

<pre><code>exit status 1 stray '#' in program
</code></pre>

<p>How can I remove this error..?</p>

<pre><code>int keys = {1,2,3,A,4,5,6,B,7,8,9,C,*,0,#,D};
</code></pre>
 16780: <p>There are several -more or less severe- issues in your one line of code</p>

<pre><code>const char keys[] = {'1','2','3','A'
                    ,'4','5','6','B'
                    ,'7','8','9','C'
                    ,'*','0','#','D' };
</code></pre>

<p>( Find the differences :) )</p>

<p>Depending on your usage, you eventually even need a 2-dimensional array</p>

<pre><code>const char keys[4][4] =  ...
</code></pre>
