A ________ allows multiple variables to share the same memory location.
- Function
- Pointer
- Structure
- Union
A union allows multiple variables to share the same memory location, making it useful for scenarios where different types of data need to occupy the same memory space.
Loading...
Related Quiz
- You're working on a C program that needs to manipulate and process data about a list of products in a store. Each product has several attributes like name, price, and quantity. What approach would you take to store and process this data efficiently?
- Which looping construct is best suited when the number of iterations is known beforehand?
- In C programming, a function that calls itself and the recursive call is the last operation before it returns is known as ________ recursion.
- In C, if you want to ensure that all the data written to a file is physically stored, you can use the ______ function.
- An array of structures can be used to represent a collection of ________ that share the same attributes but have different values.