What is an anonymous union and where to apply that ?

Answer Posted / priya

Anonymous unions are unions that are declared without a class-name or declarator-list.

union { member-list }

Such union declarations do not declare types
but they declare objects
They must also be declared as static if
declared in file scope. If declared in local scope
they must be static or automatic.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I came across some code that puts a (void) cast before each call to printf. Why?

674


What are run-time errors?

596


What are the benefits of organizational structure?

567


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

639


what are # pragma staments?

1622






Write a C program to count the number of email on text

1412


Does c have function or method?

585


What is 02d in c?

633


What is difference between function overloading and operator overloading?

651


Explain what is dynamic data structure?

642


What does d mean?

581


How can I write a function analogous to scanf?

648


What does 2n 4c mean?

710


What is a macro?

655


What is a program flowchart?

598