C Programming Language Tutorial (Advanced) - Memory Allocation in Structures

preview_player
Показать описание
C Programming Language Tutorial (Advanced) - Lect 2 Memory Allocation in Structures

We The Computer Guys
Shreyas Zagade
Aakash Thakur
Ananya Jain
Рекомендации по теме
Комментарии
Автор

Nice presentation. just for info, you might want to use "%p" for printing pointers nicely.

maximechal
Автор

Beautiful explanation, the last part. Now, its clear why "int* ptr" has 4 byte size on a 32-bit OS & has 8-byte size for a 64 bit OS. It is about the storage in address space, which is 4 byte for a 32-bit and 8 byte for a 64 bit (8*8) OS on a PC :)

samacumen
Автор

Thanks a lot for these videos. Your videos are very helpful. I finally got to study C fully. Can you recommend how to practice more difficult examples with C maybe a book or something? I'm looking to study embedded systems and C is the most important language over there and I'm a bit rusty, but I need to practice well enough to be a decent programmer at least.

KittyFloof
Автор

well explained the difference, thank you

MRUPESHKUMARREDDY
Автор

I want to know about structure padding ..make a video on it

sindhugullapalli
Автор

Can struct be used to perform calculations? im reading from an excel spreadsheet with different data types and I intend using the read data to perform some calculations to give another output. I want to know if I can use structure to acheive this

abdulhaphyz
Автор

i want roman to decimal equivalent program
can u please explain it

bhargavimsb
Автор

sir, if i want to store string of unknown size in name of the structure in programme. then, what i have to do?
as if want to store a string input by user.

birjeshmeena
Автор

whats the situation if system is 64 bit processor ????

tarungupta
Автор

int takes 2 bytes right? Float takes 4 bytes..

PJMCFC