C Interview Questions and Answers


What is Hungarian Notation? Is it worthwhile?

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.

Posted by:Richards