what is difference between array and structure?

Answer Posted / monishasyed

Array is same data type
it can not bit field
it has the base pointer
structure is the different data type
it can bit field
it has the poiter

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I discover how many arguments a function was actually called with?

632


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

1857


What is the meaning of c in c language?

594


Difference between Shallow copy and Deep copy?

1569


to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?

1573






What are the benefits of c language?

643


what is the different bitween abap and abap-hr?

1741


What are the types of pointers?

598


What is atoi and atof in c?

617


What is sizeof c?

607


What is openmp in c?

612


What is the explanation for modular programming?

681


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1411


What is the deal on sprintf_s return value?

641


What is static and volatile in c?

778