What is an anonymous union and where to apply that ?
Answer Posted / swetcha
An anonymous union is a union without a name. It cannot be
followed by a declarator. An anonymous union is not a type;
it defines an unnamed object.
The member names of an anonymous union must be distinct
from other names within the scope in which the union is
declared. You can use member names directly in the union
scope without any additional member access syntax.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How do you define a string?
What is the difference between single charater constant and string constant?
What is graph in c?
Is c# a good language?
How can I pad a string to a known length?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
How to Throw some light on the splay trees?
int i=10; printf("%d %d %d", i, i=20, i);
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
what is the format specifier for printing a pointer value?
Why doesn't C support function overloading?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What is file in c preprocessor?
How does struct work in c?
Are the expressions * ptr ++ and ++ * ptr same?