Unions in C Programming Language Video Tutorial

preview_player
Показать описание
In this C programming language video tutorial / lecture for beginners video series, you will learn about the concept of union in c in detail with example.

You will learn the syntax to creating a union, how to create a its variable, how to assign data to the its members, how to retrieve the value from the union variable using dot operator in detail with example.

Learn Programming in HINDI at our youtube channel

Catch us on Social Media
Рекомендации по теме
Комментарии
Автор

at 6:40 in the video c is not showing any garbage value but instead 23 is ASCII value of that symbol(end of trans).
This is happening because in union if we use char with int then legally we are allowed to use only one at a time but even if we try to print the other one it will show the correct result.This is because of Undesired behavior and it depends on compiler also.
BTW Good Work @LearningLad making such high quality videos require a lot of time

JayPatel-etvi
Автор

It's not garbage, it has returned the ASCII value of 'a' i.e; 97

canilogin
Автор

can anyone believe this? 13k views but just 3 comments

HarshGames
join shbcf.ru