Це відео не доступне.
Перепрошуємо.
C_114 Unions in C | C Language Tutorials
Вставка
- Опубліковано 24 лис 2021
- C complete playlist: • Programming in C
Use my code to join the test: JKL10
Combat Link: unacademy.com/combat/gate-ese...
Connect & Contact Me:
Vlogging Channel Link: bit.ly/354n7C7
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/profile/Jayanti...
Instagram: / jayantikhatrilamba
Twitter: / khatrijenny
See Complete Playlists:
Placement Series: • Placements Series
Data Structures and Algorithms: https: • Data Structures and Al...
Design and Analysis of Algorithms(DAA): • Design and Analysis of...
Dynamic Programming: • Dynamic Programming
Operating Systems: // • Operating Systems
DBMS: • DBMS (Database Managem...
#unionsinC
#Cprogrammingtutorials
#gatecslectures
#jennyslectures
if we dont initialize c value then the last entered value char b as 97.
this means the combined memory allocation for union will store the last entered value 97 which int a also can access
so the output will be
a value is 97
b value is a
Mam your teaching method is really amazing. Please complete this series ASAP. ❤️
Can’t stress how good this course is. Really helped a lot. Thank you.
You make it easy to grasp some concepts in C that i thought difficult beforehand. Thank you very much
No words to describe your role in my study ma'am
Heartiest thanks to you ma'am 🙏
Your Method of teaching is the best..... You are the best one....
Mam , You are the best teacher i ever seen your teaching method is best
Totally understood
Thanks, Jenny
Thank u for teaching us so easily...No one can beat your teaching method,Love from Kolkata❤❤
Mam I am learning lot more things from you . I learned data structure ,operating systems from you and I want to request you will you please start series on Computer structure and architecture
Greate mam.....
Your approach is very practical...
Start from 2:24
thank you from Afghanistan , i learned a lot form you videos i am a CS student
Your channel is more use full to me thank you so much mam
Mam your teaching method is really amazing👍
it gives lowercase a as output because 97 is its ascii value and u declared b as charecter
Mam Please make a tutorial on " NESTED STRUCTURE ".
Mam pls also cover enum and malloc,calloc,realloc inC before going on file handling pls mam plssss 🥺
Okiee
@@JennyslecturesCSIT yes ma'am, please cover those topics, it is very important, plzz 🥺
@@JennyslecturesCSIT Mam plz upload next video 🥺
Mam it’s my kind request to complete this series ASAP we hav exams next month and I want to complete whole data structures within that. 🥺
Beauty with brain
Mam ur teaching is really awesome
Every difficult topic u made it easy
Thank you mam so much ❤️❤️☺️☺️☺️☺️☺️❤❤❤❤
No one explains like you hats off 🫡
Ma'am meri college me padhate hai usme kuch samaj nahi aata.. aaj aapka video dekha union sikh liya pura thank you!! You are best Ma'am 🌸🙌🏻❤️
NICE SUPER EXCELLENT MOTIVATED
Mam, can you tell the best programming book for python and Java??
Respect!!!
Sister I understood u r classes .I request u to plz give PDF or notes for c language.tq sister I am going b.tech in this year .
a value will become the b values if we enter any integers(1 byte integers) b will be any garbage value
Is this playlist enough for gate c programming..?? Can i rely on it?
You are best teacher
Mam ur teaching method is very nice👍
Mam we can use methametical expressions in union
Thank You
11:39 It should be struct demo *ptr = &s
17:07
#include
union abc
{
int a;char b; float c;
};
int main()
{
union abc u;
union abc *ptr=&u;
u.a=1;
u.b=97;
printf("a=%d",ptr->a);
printf("
b=%c",ptr->b);
return 0;
}
OUTPUT:
a=97
b=a
Mam explain structure padding and structure packing
At 6.19 memory will be 12 bytes not 9 bytes as structure padding. If char is last var of structure then 9 bytes will be allocated
Structure padding means!?
Mam you are great amazing 💥
ma'am it will print a as the ASCII value of 97 is a
12bytes allocated in struct mam, because there is no #pragma pack(1).
Nice explanation
Asad from Pakistan ur teach style is very fabulous mam
Mam,is there any good book for c programming which covers everything about c programming in detail and easy to understand?Also,mam is there any good book for introduction to computers which covers topics like alu,memory(ram,rom),processor, operatingsystem,software,hardware,motherboard.Please mam reply.
Mam plz do videos on Java, phyton
Ek number 😍😍
I LOVE YOU MADAM❤❤❤❤❤. REALLY UR TEACHING AMIZING❤❤❤❤❤
Thank you madam
thank you mam❤
Mam Please make a tutorial on "Enumeration"
Mam please make videos on Compiler Design as well.
Thankyou Mam
The answer to your assignment is
--For u.a is some garbage value,and
--for u.b is 97;
I love u so much ..... As a teacher
Mam structure padding will not be applicable to all compilers?
Thank you mam for such helpful class🙂 all my doubt are cleared
Love from kerala ❣️
Jhand
can anyone please tell me , if I want to know the size why there only format specifier (%d) is used, cannot I use the format specifier of any other data type available in the union or struct member to know the size. please let me know.🤔🤔🤔
mam a small correction at 9;15 - u.a is not garbage value it is 9.2
c program implement non preeptive priority sheduling with ganntt
Tmare padhaane ke tarikhe se pyaar hogya h mjhe or tumse bhi
mam I am MCA student can i prepare net exam for making a professor?
Mam please make video on sql /pl-sql full course..
In the struct memory allocation, why did you not take the padding into account. I am a bit confused.
Hello
Thanks medam
Ma'am please bring back to back lectures its my request to u is that first please complete the c course and after completing it then please bring lectures on java courses.
ua-cam.com/video/5gHUgIAC8Wo/v-deo.html C language
Ma'am after this please start Java
Your teaching method is really amazing 😍
Love from Pakistan 🇵🇰❤️
Hello mam, can you upload full java programming language all videos 🙏🙏🙏
Dear Mam,
I am your old follower and fan but i need your help.
Please teach me this program program.
Write a C function to evaluate the series
sin(x)= x - (x**3 / 3!)+(x**5 / 5!) - (x**7 / 7!) + .... to five significant digits.
Mam what is the memory bytes of the int
Is it need to if
struct student s1;
struct student *ptr;
ptr = & s1; or simply we can assign
ptr = s1; because s1 holds base address
yes if u meant to say s1 holds it's own address then u can do so...
Ma'am why don't you use dark theme Vs code it's good for eyes
😍Goog
Plxx provide lectures on python programming
No mam size of the structure is not directly calculated. Its wrong data padding will there in structure for processors optimization and also how you are declearing.
Madam int size is 2bytes
Thanks mam
Practical on Laptop vs Blackboard
Mam mera najar nahi hat raha aapse
Ek to aap bahut khubsurat hai
Or aap explain bhi aachha karte hai 🇮🇳🇮🇳🇮🇳
I love you 💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞
mam which online course is best for programming mam i am beginner mam i completed by 12th recently
plz suggest me mam
Depends on what language you are learning
ma'am at the end of this video i saw your necklace 🤭😃 its suits on you perfectly! 😉😍🤩
Mam is C sharp is there in engineering syllabus. What is the difference between C and C#.
Mam you r so cute. only bcoz of you i love to study c language
Tell me about Java language
a= garbage value, b = 97.(last value)
Bro.... That's a char data type but the initialized value is of int
Mam int is 2 byte of memory location.
in some compilers its 4bytes
Maam how can I ask you doubts?
mam pls inc the quality of videos
Mam please makr playlist on c++
Mam,can you teach java language also
Mam Can you start python ??
beautiful and sweet mam teach us better
Mam please provide c language notes
Mam can you teach vb.net course
Mam I request to in next month exams ara held so important questions explain mam I grandly request,🙏
File handing per video banavo
Your voice is a DRUG... ❤️❤️❤️
Ma’am you eyes is so beautiful ❤
start from 2:25
plaese complete asap
print a= garvag value and b = 97
No it prints a=97 and b=a.
Size of the structure is 12 not 9
What is your countrey mam please tell me madam