linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Anonymous structures
@ 2006-08-04 15:28 krishna.vamsi
  2006-08-04 17:22 ` Glynn Clements
  0 siblings, 1 reply; 4+ messages in thread
From: krishna.vamsi @ 2006-08-04 15:28 UTC (permalink / raw)
  To: linux-c-programming

Hi all,

Can I pass anonymous structures as function arguments, 

Struct A{ int a; int b};

F(struct A a)
{
}

Int main()
{
	f({a,b})
}

If I can how can I do that ?

-Vamsi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-08-05 16:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-04 15:28 Anonymous structures krishna.vamsi
2006-08-04 17:22 ` Glynn Clements
2006-08-05  2:28   ` Raseel Bhagat
2006-08-05 16:20     ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).