Answer Posted / nashiinformaticssolutions
• Struct: All members occupy separate memory.
• Union: All members share the same memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What’s the special use of UNIONS?
Why should I use standard library functions instead of writing my own?
I need previous papers of CSC.......plz help out by posting them.......
How does pointer work in c?
What is a structure and why it is used?
What is keyword in c?
What are the application of void data type in c?
How to declare a variable?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
What is scope rule of function in c?
what will be maximum number of comparisons when number of elements are given?
What is the c language function prototype?
Can a local variable be volatile in c?