operationsvin a linear array
operationsvin a linear array
a ina Array
Teutsiny lina
or acces ach elenenl o a tinca
y meQnd
aay
to
OR
1
PeocESS o AJi].
EXIT.
Jrsertion and eleton in ina Akkau
nenting vqus to he peaton ¢ addiy oneher
element to the cay and deletingthe refls to
elem enls
the ojerationn eñovig
one
iu terminaled ii
grd bosthcn
execuled i e
Now Sip5 is
(V)
ie cAlk]= Ilem
LA2]: T•en
elemen's is
Nhd 0 of aray
(VN) inserle
eliment
(ix)
for deletion in lineau Areay
(L4, N, K, Item) Nelimenls
JELETE wit
ineo crray deleles
where iniegerl The
iu a positiv
ad K LA
LAlK]
1 Set Jtemi: w-)
j:k to
2 Kpeat fol positien brckd
lement one
mo each
Bet LA: LAlJ) element
N
Nto ne
ele menls
3 Resel
total no
elemens
Jess Hon the
WAP to weale a linea
o/au uexe
whese no leens
Qxe enlered by the we
ad alao
elemens enloed
include <stliol Headee fle sondad
wsid for inpul and aulput
oheralois i e pinti aud
seang
qeloá () noion i.e ueed to
ouput s creen
"enle no elemnsn).
the use
seanf ("fed ); 70 enler elemenls
for(i=0, icn: i+) in the avray from
frnt ("Enlen clement the cse
the elenols
fintt ( 'Elemenls are
in the
glch C): array