what is difference between array and structure?
Answer Posted / sajid ali khan
ARRAYS: -
An array may contain a number of items all of the SAME TYPE,
including user-defined types such as structures (see above).
Structure: -
In the C programming language, a structure may contain
MULTIPLE DATA TYPES, also including arrays of those types,
and the structure becomes a USER-DEFINED type.
Is This Answer Correct ? | 14 Yes | 7 No |
Post New Answer View All Answers
Why should I use standard library functions instead of writing my own?
What is the difference between union and structure in c?
differentiate built-in functions and user – defined functions.
Was 2000 a leap year?
What should malloc(0) do?
Explain Function Pointer?
show how link list can be used to repersent the following polynomial i) 5x+2
Why enum is used in c?
Differentiate between functions getch() and getche().
What is sizeof int in c?
Why use int main instead of void main?
Why is c so popular?
Sir i need notes for structure,functions,pointers in c language can you help me please
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58