Extendify the ASCII Sun
C: 116 102 99 95 92 90

s(n){for(int c=-n,r=c;r&lt;=n;c++)putchar(c&gt;n?c=-c,r++,10:c?r?c-r?c+r?32:47:92:45:r?124:79);}


I think that I am getting fairly close to a minimal solution using this approach, but I can't stop feeling that there is a much better approach in C. Ungolfed:

void s(int n) {
  for(
    int c = -n, r = c;
    r &lt;= n;
    c++
  )
    putchar(
      c &gt; n
        ? c = -c, r++, '\n'
        : c
          ? r
            ? c - r
              ? c + r
                ? ' '
                : '/'
              : '\\'
            : '-'
          : r
            ? '|'
            : 'O'
    );
}