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
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What is uint8 in c?
What is pointer to pointer in c?
Can a file other than a .h file be included with #include?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What is getch() function?
Explain what is gets() function?
What is calloc()?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
What are the different types of pointers used in c language?
Explain the difference between the local variable and global variable in c?
What are enumerated types?
Who invented bcpl language?
Was 2000 a leap year?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.