sai_kiran_n's blog

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

»
4 hours ago, # |
  Vote: I like it +6 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

  • »
    »
    2 hours ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    got it! thanks for the clarification.