Basic and Advance C Question:
Download Questions PDF

What is Hungarian Notation? Is it worthwhile?

Answer:

Hungarian Notation is a naming convention, invented by Charles Simonyi, which encodes information about a variable's type (and perhaps its intended use) in its name. It is well-loved in some circles and roundly castigated in others. Its chief advantage is that it makes a variable's type or intended use obvious from its name; its chief disadvantage is that type information is not necessarily a worthwhile thing to carry around in the name of a variable.

Download C Programming Interview Questions And Answers PDF

Previous QuestionNext Question
People always say that good style is importantShould I use symbolic names like TRUE and FALSE for Boolean constants, or plain 1 and 0?