Posted On: Jan 08, 2021
Structure defines size to all the elements declared in it while Union defines size to the max. datatype (size-wise) declared in it... So, that we can hold exactly 1 out of all data types in that
Members of the structure have their own individual allocated memory location. Members of the union share the same same memory location assigned to them.
Never Miss an Articles from us.
C defines another class of variables called static variables. Static variables are of two types:Static variables tha..
The scope resolution operator (::) is useful in C programming when both global and local variables have the same name,..
C language allows the use of the prefix register in primitive variable declarations. Such variables are called register..