Deleting an element in an array (C program)

Deleting an element in an array (C program)

CSE GURUS

4 года назад

60,674 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Bijoy kumar ray
Bijoy kumar ray - 26.07.2023 18:13

Thnks vaiya❤

Ответить
C.V.S. Lakshmi Geetha Chappidi
C.V.S. Lakshmi Geetha Chappidi - 24.05.2023 05:20

Thank you so much sir.

Ответить
Abhay Varshney
Abhay Varshney - 22.04.2023 16:41

Oh bc ke yeh program pura nhi show ho rha h tu yeh likhe pda h ...........👊😖😖😖

Ответить
Rasha Aman
Rasha Aman - 25.02.2023 15:51

Thank you

Ответить
Wiz Rom
Wiz Rom - 20.01.2023 17:55

(Edited) nothing

Ответить
BINDU K M
BINDU K M - 26.12.2022 14:12

thank you so much sir

Ответить
Akhil Mishra
Akhil Mishra - 29.11.2022 10:46

In the second last loop

for(i=pos-1;i>=n-1;i++)
a[i]=a[i+1];
a[pos-1]=value;

we need to store it lastly in the value variable .

Ответить
BINDU K M
BINDU K M - 11.10.2022 18:34

Thank you so much 🥰🥰🥰🥰🥰

Ответить
devi
devi - 09.10.2022 18:04

It's wrong code..
It must be
For(i=position;i<n;i++)

Ответить
devi
devi - 09.10.2022 17:56

No that's wrong

Ответить
Priyesh Pandey
Priyesh Pandey - 22.09.2022 06:21

No need to ask user for length of array
Simply
int Length = sizeof(arr) / sizeof(are[0])

It will calculate like
Length as int byte size of a = 5*4 , byte size of a[0] = 4
Length = 20/4 = 5

Ответить
Pradip Malik
Pradip Malik - 16.09.2022 02:08

Video not show clearly

Ответить
Sang Art
Sang Art - 31.08.2022 19:01

How to free up the unnecessary space at the end of array after deleting

Ответить
VIVEK
VIVEK - 09.07.2022 14:05

Not working at all..waste video

Ответить
Claudio Silvestri
Claudio Silvestri - 31.03.2022 22:57

Ti faccio notare però che una volta rimosso il numero dal vettore, la memoria che il vettore occupa sulla scheda RAM è sempre la stessa poiché non è stata rimossa fisicamente la locazione di memoria del vettore nel momento della rimozione del numero.

Ответить
Ayush Chaturvedi
Ayush Chaturvedi - 23.02.2022 20:17

Galat aa rha hai is code se

Ответить
Poocha Ser
Poocha Ser - 31.01.2022 10:03

How to delete multiple elements like taking the limit frm user and how to delete elements lzz tell me

Ответить
Roshan Kushwaha
Roshan Kushwaha - 29.12.2021 09:21

thanks sir

Ответить
Aariff Mohd
Aariff Mohd - 10.11.2021 03:04

I asked value as an input from the user and wasn't able to code well,but taking position seems much easier

Ответить
KOUSALYA D
KOUSALYA D - 08.11.2021 18:04

Good explanation sir easy to understand for me thank u sir

Ответить
Blesson Binu Joseph
Blesson Binu Joseph - 03.10.2021 14:53

Awesome 👌

Ответить
Shruti Kalwar
Shruti Kalwar - 05.08.2021 06:38

Thank you

Ответить
Daneshwari N
Daneshwari N - 07.06.2021 19:18

Great explanation sir ty❤

Ответить
Billmall XII
Billmall XII - 29.05.2021 03:48

Thank You So Much Sir!

Ответить
vikas vobbilisetti
vikas vobbilisetti - 23.05.2021 13:46

excellent logic,thank you

Ответить
Binit Gudhka
Binit Gudhka - 22.04.2021 15:31

Very very very good explanation

Ответить
Bhavya Sachula
Bhavya Sachula - 07.04.2021 17:09

awesome explanation sir.thank you sir.

Ответить
P M K VINES
P M K VINES - 07.02.2021 11:30

🙏

Ответить
Chirag
Chirag - 16.01.2021 11:59

one mistake in second for loop i<=n-1

Ответить
Darshan S D sd
Darshan S D sd - 08.01.2021 14:31

Ossm teaching after so many lectures this is best

Ответить