title: Arduino String Formatting Issue
body: <p>I'm making an Arduino-powered clock, and in the process, I'm trying to format integers into two-digit formatted strings for the time read-out (e.g. 1 into "01").</p>
  
  <p>The following gives me "error: expected primary-expression before '{' token":</p>
  
  <pre><code>char * formatTimeDigits (int num) {
    char strOut[3] = "00";
    if (num &lt; 10) {
      strOut = {'0', char(num)};
    }
    else {
      strOut = char(num);
    }
    return strOut;
  }
  </code></pre>
  
  <p>I'm trying to use it as follows:</p>
  
  <pre><code>void serialOutput12() {
    printWeekday(weekday); // picks the right word to print for the weekday
    Serial.print(", "); // a comma after the weekday
    Serial.print(hour12, DEC); // the hour, sent to the screen in decimal format
    Serial.print(":"); // a colon between the hour and the minute
    Serial.print(formatTimeDigits(minute)); // the minute
    Serial.print(":"); // a colon between the minute and the second
    Serial.print(formatTimeDigits(second)); // the second
  }
  </code></pre>
  
  <p>Any ideas as to what I'm missing here?</p>