what is difference between array and structure?
Answer Posted / ira
Are you sure that Structure is object oriented, because
structs came from C, and C wasn't an object-oriented
program, and C++ was using it at the beginning where now
they use class for the same function which is better
Array is a collection of a fixed number of components all of
the same type: it is a homogeneous data structure.
structs (records) - we use them to group items of different
types; a collection of a fixed number of components in which
the components are accessed by name. The components as
mention can be of different types. A struct is typically
heterogeneous.
| Is This Answer Correct ? | 82 Yes | 20 No |
Post New Answer View All Answers
Explain the use of 'auto' keyword
What is hashing in c language?
how to count no of words,characters,lines in a paragraph.
Explain bitwise shift operators?
what is stack , heap ,code segment,and data segment
What is bubble sort technique in c?
In a header file whether functions are declared or defined?
Can you apply link and association interchangeably?
What is structure padding in c?
What is the difference between test design and test case design?
Explain what is a const pointer?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
What is c programing language?
How can I find out how much free space is available on disk?