Hello Friends Please watch the updated version here - kzbin.info/www/bejne/mqG7o5-AgJqfis0 Watch complete video series of subject Structured Programming Approach in C Programming only on Ekeeda Application. Download Ekeeda application to get 1000 Studycoins and use it to access free courses. Steps to follow:- 1. Download Ekeeda application from the link given below. 2. Sign up or Log in to your account. 3. You will get 1000 Studycoins worth Rs 1000. 4. Add the courses to your cart. 5. Select Study coins option to get free access. Android App : play.google.com/store/apps/details/?id=student.ekeeda.com.ekeeda_student iOS App : apps.apple.com/in/app/ekeeda/id1442131224
@tamilmaranc7 жыл бұрын
Excellent explained
@fadyserhan95377 жыл бұрын
good organized explanation.....but i really don't know why someone should use a union? just because it's less memory?
@vivekjain85456 жыл бұрын
Excellent explanation. Except one point that size of struct will be 12 bytes. Reason for this is data strcture alignment. ========================= integer takes 2 byte and than a data padding of 2 byte will be added to have a fixed word size for having a faster memory access because cpu access memory faster for a fixed word size. Now as float is of 4 byte so it occupies 4 byte. and character accupies 1 byte and 3 byte data padding will be added at the end of this variable. so the total memory allocated will be 12 bytes. ( 2byte (int) + 2byte(data padding) +4 byte(float)+1 byte(char) + 3 byte(data padding)=12 byte ). ===================
@shaikshafi4075 жыл бұрын
hello sir! does the structure member gets allocated memory or is it the structure variable?
@rakeshr.a88567 жыл бұрын
bravo man!!
@sushantthapachhetri72256 жыл бұрын
you are awesome sir>>>well explained
@Ekeeda6 жыл бұрын
You are welcome! Can you give us your worthy reviews as it will enable us to create more enriching videos in future? www.google.com/search?q=Ekeeda&ludocid=0x3be7cef39a0bcb1f:0x695389d0b57989f4
@Ekeeda6 жыл бұрын
You are welcome! Can you give us your worthy reviews as it will enable us to create more enriching videos in future? www.google.com/search?q=Ekeeda&ludocid=0x3be7cef39a0bcb1f:0x695389d0b57989f4
@karthikn71797 жыл бұрын
good to listen . Thanks
@arnavkumar66456 жыл бұрын
Although you clearly explained how data gets stored in union, you didn't explain how is it possible to retrieve the value of int a after being overwritten by float r and char c.
@huyvole97246 жыл бұрын
No, your struct have 12 bytes not 7 bytes. Reason: follow Data struct Alignment.
@vivekjain85456 жыл бұрын
You are right. Data strcture alignment is used to have a faster memory access.
@khuraana17 жыл бұрын
perfectly explnd thnks
@jairuskabila40416 жыл бұрын
thats nice
@IgiveyouNONE7 жыл бұрын
Annoying music. Remove it..
@pritikumari99626 жыл бұрын
Concept is good...bt vry irritating video.... just bcoz this useless music..