Reading/Writing to One-Dimensional Array Example: int age[5] scanf("%d", &age[0]); //read data from keyboard into array ag...
Read More
Showing posts with label Object oriented programming. Show all posts
Showing posts with label Object oriented programming. Show all posts
Binary Search
If we look at the questions viz. How do we search for a person’s telephone number? If we know only the person’s name. and How difficult is ...
Read More
Pointer Operators * and &
& is a unary operator that returns the address of its operand which must be a variable. For Example int *m ; int count=125, i ;/* ...
Read More
Dynamic Memory Allocation
This is the means by which a program can obtain and release memory at run-time. This is very important in the case of programs which use la...
Read More
THE LIST ADT
List is an ordered set of elements. The general form of the list is A1, A2, A3, ..... ,AN A1 - First element of the list AN - Last elem...
Read More
The Queue ADT
Queue Model A Queue is a linear data structure which follows First In First Out (FIFO) principle, in which insertion is performed at rear ...
Read More
Object oriented programming (OOPs) Characteristics
Object oriented programming consists: 1. Modularity 2. Abstraction 3. Data Encapsulation 4. Inheritance 5. Polymorphism 6. Dynamic B...
Read More
Subscribe to:
Posts (Atom)