prateek shaw wrote:
But what is purpose of putting label in simple statement ?
Besides being an interesting quirk in the language, I don't know of any usage. If I have to hazard a guess, I would say that the implementation of the label was done that way, just in case, in the future, the goto instruction gets implemented into the language (although, that is very unlikely now).
Henry