data structures & system programming lab file

Download Data Structures & System Programming Lab File

If you can't read please download the document

Upload: cutie

Post on 16-Nov-2014

544 views

Category:

Documents


0 download

DESCRIPTION

Data Structures & System Programming Lab File For PTU & students of other universities

TRANSCRIPT

Data Structures & System ProgrammingS.NO PROGRAM . 1. Program to traverse an array 2. Program to insert an element in an array 3. Program to find a number using linear search 4. Program to delete an element from an array 5. Program to Binary search 6. Program to find the smallest and largest number 7. Program to Bubble sort 8. Program to enter and traverse a linked list 9. Program to insert an element at begining, at end, after a given element, before a given element. 10. Progrm to delete at begning, at end, before given element, given element and after the given element. 11. Program to search in a linked list 12. Program of insertion two way link list 13. WAP to demonstrate Quick sort. 14. Program to implement stacks using array 15. Program to Stack using linked list PAGE NO. 3 4 5 6 7 8 9 10 12 16 20 22 23 26 28

1

Data Structures & System Programming

//1.Program to traverse an array

DATE:- 17/08/09

#include #include void main() { int i,a[100],n; clrscr(); coutn; for(i=0;i>a[i]; cout