Jumat, 14 Oktober 2016

How to use the union keyword in C programming

In computer science, a union is a value that may have any of several representations or formats; or it is a data structurethat consists of a variable that may hold such a value. Some programming languages support special data types, calledunion types, to describe such values and variables. In other words, a union type definition will specify which of a number of permitted primitive types may be stored in its instances, e.g., “float or long integer”. Contrast with a record (or structure), which could be defined to contain a float and an integer; in a union, there is only one

The post How to use the union keyword in C programming appeared first on Coding Security.


How to use the union keyword in C programming
read more

Tidak ada komentar:

Posting Komentar