Skip to content

Commit 257e1d8

Browse files
delete from array
1 parent 995e845 commit 257e1d8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

4. Array ADT/delete_from_array.c

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#include<stdio.h>
2+
3+
struct Array
4+
{
5+
int A[10];
6+
int size;
7+
int length;
8+
};
9+
10+
void Display(struct Array arr)
11+
{
12+
int i;
13+
printf("\nElements are\n");
14+
for(i=0;i<arr.length;i++)
15+
{
16+
printf("%d ",arr.A[i]);
17+
}
18+
}
19+
20+
int main()
21+
{
22+
return 0;
23+
}

0 commit comments

Comments
 (0)