What is union, C/C++ Programming

What is Union?

Intimately associated with the structure is the union which as well contains multiple members. Unlike a structure but the members of a union share the same storage area even though the individual members may differ in type. Thus, a union allows several different data items to be stored in the same portion of the computer's memory at different times.

Posted Date: 6/13/2013 6:33:28 AM | Location : United States







Related Discussions:- What is union, Assignment Help, Ask Question on What is union, Get Answer, Expert's Help, What is union Discussions

Write discussion on What is union
Your posts are moderated
Related Questions
Charity Ball Organizer Many charities support good causes, but one of the difficulties each of them has is organizing their fundraising events. After nearly a semester of C progra

Temperature Conversions. Problems 28 through30generate temperature-conversion tables. Use the following equations that give relationships between temperatures in degrees Fahrenheit

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

Define  F u n c t i o n?  T h e r e a r e t w o t y p e s o f f u n ct i o n b u i l t - i n f un ct i o n s a n d u

How to write C program (interest calculator) the simple interest on a loan is calculated by the formula interest=principal*rate*days/365; ?

manupulates operator precidence

A: In C++, the definition of NULL is 0, thus there is only an aesthetic difference. I prefer to ignore macros, so I employ 0. Another difficulty with NULL is that people sometimes

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci

want to solve the thermodynamics problems on c language

A: In C++ a struct is alike to a class except for the default access specifier( refer to other question in the document). In C we ought to include the struct keyword while declarin