What is an anonymous union and where to apply that ?
Answer Posted / monisha
anonymous union is a class name.it cannot be followed by
the declarator.it must be declared with the keyword
static.it cannot have protected and private members.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What is an lvalue in c?
Can a variable be both static and volatile in c?
Is malloc memset faster than calloc?
Explain how can I avoid the abort, retry, fail messages?
How to draw the flowchart for structure programs?
What does the format %10.2 mean when included in a printf statement?
Tell us something about keyword 'auto'.
Explain About fork()?
Explain what is the stack?
Explain how do you list files in a directory?
What is malloc calloc and realloc in c?
Explain how do you generate random numbers in c?
Explain the difference between getch() and getche() in c?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }