Skip to content

Commit d4a9851

Browse files
authored
Create Q1.c
1 parent 152b3c6 commit d4a9851

File tree

1 file changed

+16
-0
lines changed
  • 2nd Year DATA STRUCTURE/Assignment 1

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# QUESTION
2+
3+
**Implement the ADT Array using C programming language. Allowable range of
4+
data may be integers. Implement the functions like Display( ), Insert( ), Delete( ),
5+
Reverse( ), RemoveDuplicates( ), Replace( ) and Search( ). The first five functions
6+
are as discussed in the class. Replace( ) and Search( ) is defined as follows:**
7+
8+
**Replace(A, n, x, y) – Elementxwill be replaced by elementyin the arrayA
9+
of sizen’.**
10+
11+
**Search(A, n, key) – the ArrayAwithnelements be searched for the value
12+
key’. The function should return the first position of the occurrence of thekey’.
13+
Will return (-1), if the element is not present in the array.**
14+
15+
# ANSWER
16+

0 commit comments

Comments
 (0)