Archive for January, 2010
Tokens
by Shivu on Jan.31, 2010, under C Language Data Strucutres
Tokens:
Just like parts of speech in English , we have tokens in C . Tokens are nothing but individual units of a C program. Tokens are mainly classified into :
- Identifier
- keyword
- Variable
- Constant
- Operators
Inheritance
by hkesavaraju on Jan.28, 2010, under Advanced Data Structures
Inheritance
Reusability is the important feature of OOPS. If reusing something that already exists rather than doing all over again. It saves time and money and also increases reliability.
Inheritance provides reusability by reusing the classes in C++. Once class is written and tested, it can be used by other programmer depending on the need. The mechanism of deriving new class from old class is called Inheritance. The old class is called base class and new class is called derived class.
Parameters passing methods
by hkesavaraju on Jan.28, 2010, under Advanced Data Structures
Parameter Passing Methods
These are the ways in which actual arguments are bound to formal parameters. There are 2 types of parameter passing methods used. They are: