what is difference between array and structure?

Answer Posted / shruti

Array is a base pointer..
** it points to a particular memory location..

Structure is not a pointer..

Is This Answer Correct ?    209 Yes 50 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

924


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

876


How will you delete a node in DLL?

957


What is the c language function prototype?

871


Explain what is the difference between text files and binary files?

879


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

1763


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

978


What is meant by gets in c?

824


Explain what header files do I need in order to define the standard library functions I use?

896


What does. int *x[](); means ?

850


What are the main characteristics of c language describe the structure of ac program?

953


What is #ifdef ? What is its application?

871


What is the difference between text and binary i/o?

806


What is the difference between %d and %i?

841


What is the use of pragma in embedded c?

806