what is difference between array and structure?
Answer Posted / rkv charan
Array:
1.static memory allocation.
2.array size is fixed.
3.array can't have bit fields.
structure:
1.Dynamic memory allocation.
2.structure size is changed dynamically.
3.structure can contain bit fields.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is use of pointer?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
How can I manipulate strings of multibyte characters?
What is a void pointer in c?
How can I remove the leading spaces from a string?
Are pointers really faster than arrays?
What does struct node * mean?
What is the purpose of realloc()?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
List some basic data types in c?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What does d mean?
Why is c fast?
Explain continue keyword in c
How can I make it pause before closing the program output window?