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 I recover the file name given an open stream or file descriptor?
What is meant by errors and debugging?
How do you define structure?
Is it better to use a macro or a function?
Why c is called top down?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
What is a pointer on a pointer in c programming language?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
How can I make sure that my program is the only one accessing a file?
in linking some of os executables are linking name some of them
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
What is the importance of c in your views?
Explain modulus operator.
What is d'n in c?
In a switch statement, explain what will happen if a break statement is omitted?