what is difference between array and structure?

Answer Posted / tsering dolma

1. Array is collection of homogenous data and
structure is collection of hetogenous data

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In c language can we compile a program without main() function?

570


What are the 5 organizational structures?

562


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

5191


What is s in c?

607


How can I determine whether a machines byte order is big-endian or little-endian?

615






How are portions of a program disabled in demo versions?

741


Why static is used in c?

616


about c language

1597


plz let me know how to become a telecom protocol tester. thank you.

1738


What is "Duff's Device"?

697


How can I get random integers in a certain range?

609


write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.

1572


What is string function in c?

530


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

1657


Why #include is used in c language?

590