1.3 Array Operations | Deletion from Array | Explanation with Code | Data Structure

preview_player
Показать описание

Discussed how to Delete data from Array in Data Structure with C program.

Array Operations: Traversal, Insertion with code

******************************************
See Complete Playlists:

**********************************************

Connect & Contact Me:

#arrayoperationindatastructure
#arrayindatastructure
#datastructure
#UGCNETcoaching
#computerscience
#informationtechnology
#engineering
Рекомендации по теме
Комментарии
Автор

For two months i have been trying to understand these concepts of data structure but failed every time my mid exams are coming right after two weeks and now i am here and completely got all these concepts thank you Mam i really appreciate your effort. In return i liked your videos and subscribed to your channel please continue your work for public welfare Thank you.

abdullahyounas
Автор

the unsorted array trick was genius, thank you ma'am.

abhiavasthi
Автор

her content are way more complete and updated than other channels.

piyushkumar-jweb
Автор

Madam, I am from Somalia, as an IT student you helped me alot, the way you explain is super easy to understand, I am sure you have a deep knowledge of what you are Teaching and you know how to Teach. the way you explain is better than the way my University Teachers explain. LOVE AND RESPECT FROM SOMALIA. THANK YOU SO MUCH. keep on that Good work.

wardoonacademy
Автор

No sponser, no request for like & subscribe ❤
True dedication ❣️🙏🙏

anonymouussssss
Автор

Correction in program.


In the if else part the for loop condition should be.

for(i=0;i<size || i<=size-1;i++)

if it is i<size-1, the last element in the array is omitted in the new deleted array.

nibinaugustin
Автор

Mam, thank you so much for this playlist . We have no good faculties in my college of DATA STRUCTURES 🙏🙏🙏

ShubhamSingh-cdjf
Автор

thank you very much for creating this master piece this will help to years to years many students to learn DS,
everyone's thinks ds is complicated it is very hard to learn DS but you make it easy , ,,, your teaching way is very good . keep doing ma'am :)

mukulverma
Автор

I cannot explain how much relief i got ...learning from your videos i respect your effort mam and thank you so much❤

Annieswarna
Автор

mam mein apko 1 saal see follow kar raha bohut great Hai mam ....apke video se bohut madat hothi hai

mdmainulhassan
Автор

Thank you so much for your great teaching. Your explanation was very clear. I didn't have any idea of removing items from array.but after watching your video.i got a clear understanding of it.keep up the good work.

rashmikadeshan
Автор

You are a gifted one, few only can be good speaker..and the audience understand everything...thank you so much di

nairinsalot
Автор

her content are way more complete and updated than other c

rohithbollu
Автор

Thanks, so clear and easy to follow here is a version of the code using dynamic memory allocation :
void delete(int *array, int *size, int pos){
for(int i = pos-1 ; i < *size-1 ; i++){
array[i] = array[i+1];
}
--(*size);
array = realloc(array, *size);
}
int main (int argc, char *argv[]) {

int size ;
printf("Enter the size of the array : ");
scanf("%d", &size);
int *array = malloc(sizeof(int)*size);
printf("Enter the elements of the array : ");
for(int i = 0 ; i < size ; i++){
scanf("%d", &array[i]);
}
int pos;
printf("Enter the position of the element that u want to delete : ");
scanf("%d", &pos);
delete(array, &size, pos);
for(int i = 0 ; i < size ; i++)
printf("%d\t", array[i]);

free(array);
return 0 ;
}

justcurious
Автор

🙏🙏🙏Thanks a lot sir🙏🙏🙏

Your videos are so helpful and useful during my university , I can't understand in online lecture and I don't attend it but I see Your all videos to study and I pass with good marks in my sem 3 university exam which is offline its because Your youtube channel and your extraaudinary teaching .

Thanks a lot for making this videos and giving precious time us.

-Thanks a lot
-God bless you ..sir
-I don't have words to express thankfullness to you

Your youtube channel is an individual university.

Thanks a lot for helping us
🙏🙏🙏🙏🙏

xyz-pctl
Автор

Beauty with brain 😅
Your teaching makes me feel like I m an intelligent student😅

PROTECHRAHUL
Автор

After seeing your last video
I am able to apply deletion operation by myself
Thank u mam🤗🔥

amanprajapati
Автор

Your explaniation is super clear I am realy happy that this my first time I can understand data structure

reemjanina
Автор

You are The best University ever I had

Muhammedfahadkp
Автор

Thank you dany mam i AM finaly understand traversal, insertion and deletion in array by ur videos💥🎯💣

manojrajput