Stack Data Structure And Operations | C Programming Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

dude just *stacked* this video on the top of youtube suggestions...

tdoc___
Автор

thank you for explaining 20:30 I was always confused on other programing languages if it mattered to delete the last collection of the stack, by decrementing it, we can override the last value even if we keep the old value, it makes so much sense, so far you are the best at explaining the C language you are a life saver, thank you

matriculadigital
Автор

thank you, this will help me through my CS1 class, my teacher just codes so fast its hard to keep up lol

iwannapressit
Автор

Sir your work is excellent... that was so helpful and crystal clear... keep up the amazing work...

steevenkenny
Автор

Your lecture is very good, i hope you will do the queue structure.

ndttechnicaluniversityute-
Автор

Sir, your work is outstanding. Thank you very much. I have just one comment to add. The sizeof(stack) is allocated to stack in create_stack, and this expression is used to determine the size of the pointer, not the size of the object it refers to. In my opinion, this is an error and you should allocate sizeof(*stack) since it determines the size of the object that stack references. PS: using the destroy_stack function may lead to a memory leak.

zakariaeelkalai
Автор

Thank you very much. Very nice presentation and very clear explanation.

mktaleb
Автор

Great video as always!
By the way, can you make a video on how to implement a "FIFO" circular buffer in C?

Architector
Автор

Sir What is the Good approach to master and fully confident in c algorithms and c programming by practice or any other approach

salmantechnologies
Автор

man if there is paradise of any religion in the after life you will enter i ll make sure of that.

raoufbouattour
Автор

at around min 12:20: why do you check in main another time if stack is NULL? we already check it in the function, don't we?

philipphortnagl
Автор

I followed perfectly but my output always says stack size is 0, I am lost
edit: i somehow missed a line of code, probably between the scrolling around between code. You have also shown me that it is good to leave spaces above and below when I am going to be adding to my main, and to go ahead and put { and } at the same time and just type between them to avoid making errors

BaxxyNut
Автор

I still didn't get the idea behind using capacity and size and how are they are not different, can you please explain? thank you

berkouklahcene