-
Contributing Member
Re: pointers and union?
union:
- it is hetrogenious collection.
- it reduces memory size compared to structure.
- the union holds any data type even pointers also.
- it takes only highest datatype memory size.
types of pointers:
array of pointers
pointer to pointer
-
Junior Member
Re: pointers and union?
pointer & uion are secondary data types
pointer is used to store the address of variable/value
there are two type of pointer
near pointer
far pointer
union are used to store same memory location is used to store different type of data.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules