what is difference between array and structure?

Answer Posted / bilal wazir

arrays are the group of related data types but structure are
the different data items

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does node * mean?

710


When a c file is executed there are many files that are automatically opened what are they files?

594


How can I read/write structures from/to data files?

548


Write a program to know whether the input number is an armstrong number.

673


What is typedef struct in c?

584






What is the difference between int main and void main in c?

591


what is the difference between 123 and 0123 in c?

722


When can a far pointer be used?

588


What does volatile do?

565


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

3730


write a c program in such a way that if we enter the today date the output should be next day's date.

1677


why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above

609


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

666


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

669


What is the symbol indicated the c-preprocessor?

696