title: Literal array in C
body: <p>I may be wrong in my definition of what a literal array is. I am refering to the following as one: </p>
  
  <pre><code>{0x00, 0x01, 0x03}
  </code></pre>
  
  <p>I have a function that accepts an array as shown below:</p>
  
  <pre><code>void mote(char arry[]){}
  </code></pre>
  
  <p>When I am calling this function I would like to be able to do the following:</p>
  
  <pre><code>mote({0x00, 0x01, 0x03})
  </code></pre>
  
  <p>However my compiler(C30) complains with the following error:</p>
  
  <pre><code>error: syntax error before '{' token
  </code></pre>
  
  <p>I also tried the above with these brackets -> [  ] but i still get the same error. </p>
  
  <p><strong>My questions</strong></p>
  
  <p>1) Is it possible to pass a literal array into a function?</p>
  
  <p>2) If yes, how?   </p>
  
  <p>Thank you all in advance</p>