what is difference between array and structure?
Answer Posted / kirankumar
Array takes data types of same kind where as structure takes
any kind.
Ex:int n[5];/* one d array
int n[10][10];/* two d array
int n[10][10][10];/* multi d array or jagged array
Structure takes following form:
struct class
{
cahr name;
int marks;
float sbuject[3];
}stuent[100];
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between #include
What does sizeof function do?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
How can I convert a number to a string?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
Explain setjmp()?
How can I find the modification date of a file?
What is getche() function?
Difference between Shallow copy and Deep copy?
I heard that you have to include stdio.h before calling printf. Why?
Are the variables argc and argv are local to main?
Difference between MAC vs. IP Addressing
Are comments included during the compilation stage and placed in the EXE file as well?
What does d mean?
What are keywords c?