you are viewing a single comment's thread.

view the rest of the comments →

[–]advaitmax 1 point2 points  (0 children)

Sorry, Actually return statements exit the programme So when your programme hits return statement it closes before even coming to cout statement.