sai_kiran_n's blog

By sai_kiran_n, history, 113 minutes ago, In English
  • Vote: I like it
  • +4
  • Vote: I do not like it

»
96 minutes ago, # |
  Vote: I like it +5 Vote: I do not like it

Your array size is a bit small.

In fact,there is a '\0' at the end of the string,so char a[100] is not enough.

You can char a[101],this is ok.

link

  • »
    »
    14 minutes ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    got it! thanks for the clarification.