bluesilver17's blog

By bluesilver17, history, 6 weeks ago, In English

Problem: Code woking well with online compiler and in codeLite Can someone help with this problem

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

6 weeks ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it


It seems to be some form of undefined behavior — Here's my submission (exact same code): 89456236

Edit: Removing fflush(stdin) does the trick. 89456926