diff .between strcture and union
Answers were Sorted based on User's Feedback
Answer / sruthy
union allocates the memory equal to the maximum memory
required by the member of the union but structure allocates
the memory equal to the total memory required by the members
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / revathi pawar
structure is the set of different datatype whereas the
struct is the keyword
union is the one where will not print or give correct ouptut
whereas it will give the address of tat particular string or
no given
union s the keyword
Is This Answer Correct ? | 1 Yes | 7 No |
write a fuction for accepting and replacing lowercase letter to'Z' with out using inline function.
main() { int a=5; printf(?%d,%d,%d\n?,a,a< <2,a>>2); } Answer: 5,20,1 please explain this code in detail
What does 2n 4c mean?
write a program wch produces its own source code aas its output?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
Can you return null in c?
is compiler do read the data line by line or not. ??
6 Answers LG Soft, Satyam, Tech Mahindra,
What is the difference between class and object in c?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
Why ordinary variable store only one value
CopyBits(x,p,n,y) copy n LSBs from y to x starting LSB at 'p'th position.
What are the 3 types of structures?