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 |
What is Lazy evaluation in C? Give an example.
1,1,5,17,61,217,?,?.
What are the advantages and disadvantages of pointers?
write a function for strtok()??
how can i print "hello"
Given an unsigned integer, find if the number is power of 2?
write a program to print the all 4digits numbers & whose squares must me even numbers?
Why dont c comments nest?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
Explain what is the difference between the expression '++a' and 'a++'?
what is the difference between while and do while?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code