GnanaSamhitha's blog

By GnanaSamhitha, history, 4 years ago, In English

Can anyone guess why i am getting runtime error in following code https://ideone.com/t49NzM Thanks in advance

  • Vote: I like it
  • -3
  • Vote: I do not like it

| Write comment?
»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

There is no code in your link. (to test, logout and goto the link)

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

v.size()==0 would most likely cause runtime exception.