Explain the difference between struct and union.
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• Struct: All members occupy separate memory.
• Union: All members share the same memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• Struct: All members occupy separate memory.
• Union: All members share the same memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
What is the use of #define preprocessor in c?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
What 'lex' does?
Write a program for the following series? 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 1234567890987654321 123456789010987654321 12345678901210987654321 1234567890123210987654321 .........1234321............ ..........123454321............ ..........12345654321............ 7 8 9 0 1 Pls............?
How can I find the modification date and time of a file?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
write a prgram of swapping with 2 valiables
What does *p++ do?
What's a "sequence point"?
What are the parts of c program?