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
How can a string be converted to a number?
What are reserved words with a programming language?
please explain every phase in the "SDLC" in the dotnet.
What does void main return?
How can I write a function analogous to scanf?
what is recursion in C
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
write a program to find the given number is prime or not
What is the difference between a string and an array?
How can I do graphics in c?
If I have a char * variable pointing to the name of a function ..
Explain how do I determine whether a character is numeric, alphabetic, and so on?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
What are the 5 elements of structure?