5/29/2023 0 Comments C basic data typesPrintf( " Struct variable: %d\nUnion Example: %f \nArray elements : %d %d\nPointer value %d\n",e.num,un. Printf("\nC datatypes\nDerived Datatypes\n") ‘ union‘ is the keyword to define a union. It is same as structure but stores element in same memory location. Union is a special user defined datatype. ‘ struct‘ is the keyword used to declare a structure. ) operator is used to access a structure variable.Īrrow operator is used to access structure variable via pointer. It stores element in different memory location for each of its members.ĭot (. By using structure programmer can easily group different other data type variables. You cal simply assign the address using
0 Comments
Leave a Reply. |