C_114 Unions in C | C Language Tutorials
HTML-код
- Опубликовано: 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
Thank u for teaching us so easily...No one can beat your teaching method,Love from Kolkata❤❤
thank you from Afghanistan , i learned a lot form you videos i am a CS student
it gives lowercase a as output because 97 is its ascii value and u declared b as charecter
Totally understood
Thanks, Jenny
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
Mam your teaching method is really amazing👍
Greate mam.....
Your approach is very practical...
No one explains like you hats off 🫡
Your channel is more use full to me thank you so much mam
Start from 2:24
Mam Please make a tutorial on " NESTED STRUCTURE ".
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 ❤️❤️☺️☺️☺️☺️☺️❤❤❤❤
a value will become the b values if we enter any integers(1 byte integers) b will be any garbage value
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 .
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
Is this playlist enough for gate c programming..?? Can i rely on it?
12bytes allocated in struct mam, because there is no #pragma pack(1).
Mam plz do videos on Java, phyton
Mam ur teaching method is very nice👍
Mam, can you tell the best programming book for python and Java??
You are best teacher
Asad from Pakistan ur teach style is very fabulous mam
The answer to your assignment is
--For u.a is some garbage value,and
--for u.b is 97;
Mam explain structure padding and structure packing
Mam we can use methametical expressions in union
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 Please make a tutorial on "Enumeration"
Mam you are great amazing 💥
mam a small correction at 9;15 - u.a is not garbage value it is 9.2
Tmare padhaane ke tarikhe se pyaar hogya h mjhe or tumse bhi
I love u so much ..... As a teacher
ma'am it will print a as the ASCII value of 97 is a
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 please make videos on Compiler Design as well.
Nice explanation
I LOVE YOU MADAM❤❤❤❤❤. REALLY UR TEACHING AMIZING❤❤❤❤❤
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 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 please make video on sql /pl-sql full course..
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.
ruclips.net/video/5gHUgIAC8Wo/видео.html C language
Thank you mam for such helpful class🙂 all my doubt are cleared
Love from kerala ❣️
Jhand
Respect!!!
Your teaching method is really amazing 😍
Love from Pakistan 🇵🇰❤️
Mam structure padding will not be applicable to all compilers?
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.
Practical on Laptop vs Blackboard
Hello mam, can you upload full java programming language all videos 🙏🙏🙏
Thank You
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.
c program implement non preeptive priority sheduling with ganntt
Ek number 😍😍
Mam is C sharp is there in engineering syllabus. What is the difference between C and C#.
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 I am MCA student can i prepare net exam for making a professor?
Mam mera najar nahi hat raha aapse
Ek to aap bahut khubsurat hai
Or aap explain bhi aachha karte hai 🇮🇳🇮🇳🇮🇳
I love you 💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞💞
Madam int size is 2bytes
Mam please makr playlist on c++
In the struct memory allocation, why did you not take the padding into account. I am a bit confused.
Hello
Plxx provide lectures on python programming
thank you mam❤
a= garbage value, b = 97.(last value)
Bro.... That's a char data type but the initialized value is of int
Thankyou Mam
ma'am at the end of this video i saw your necklace 🤭😃 its suits on you perfectly! 😉😍🤩
Thank you madam
Ma'am after this please start Java
Ma'am why don't you use dark theme Vs code it's good for eyes
mam pls inc the quality of videos
File handing per video banavo
Mam what is the memory bytes of the int
plaese complete asap
Maam how can I ask you doubts?
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...
Mam I request to in next month exams ara held so important questions explain mam I grandly request,🙏
😍Goog
Thanks medam
Mam you r so cute. only bcoz of you i love to study c language
Size of the structure is 12 not 9
Thanks mam
Mam,can you teach java language also
beautiful and sweet mam teach us better
Tell me about Java language
Mam Can you start python ??
Mam can you teach vb.net course
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 you eyes is so beautiful ❤
Mam pls upload video...😃
print a= garvag value and b = 97
No it prints a=97 and b=a.
1st it will print a=97 and b = garbage value or Nothing ........!!
kal kaha gye tha ap .hmra modelling and simulation ka paper tha .wesy to ap sub course prty hain .kal nhi aya thai ap
Mam please provide c language notes
Mam int is 2 byte of memory location.
in some compilers its 4bytes