Results 1 to 7 of 7

Thread: pointers and union?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Contributing Member
    Join Date
    Nov 2007
    Answers
    46

    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


  2. #2
    Junior Member
    Join Date
    Jul 2007
    Answers
    2

    Thumbs up 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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact