cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
passing unions to functions
passing unions to functions
Jun 6, 2014 at 10:51am UTC
danicpp
(116)
Can we pass unions to function? if yes then what's the syntax with an example.
Jun 6, 2014 at 11:04am UTC
keskiverto
(10402)
Yes. Union has typename just like a class. Pass with same syntax.
Topic archived. No new replies allowed.