1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Why we donot pass union as function arguments?

Discussion in 'C' started by Tech_Khalsa, Jul 22, 2007.

  1. Tech_Khalsa

    Tech_Khalsa New Member

    Joined:
    Jul 22, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    Please comment if anyone know the secret for Why we donot pass union as function arguments?
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,293
    Likes Received:
    365
    Trophy Points:
    83
    We don't pass the structs as well so whats the deal with the unions. We pass the objects of the ADT's
     

Share This Page