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

How can I manipulate strings of multibyte characters?

627


Are pointers integer?

540


Explain how can you tell whether two strings are the same?

572


What is context in c?

528


What is the use of bitwise operator?

676






Can you write the function prototype, definition and mention the other requirements.

642


What is function prototype in c with example?

561


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1478


Is swift based on c?

622


What is the ANSI C Standard?

764


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

717


What is c basic?

589


What is %lu in c?

664


What is stack in c?

595


What is sizeof in c?

556