Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is difference between array and structure?

Answer Posted / sajid ali khan

ARRAYS: -
An array may contain a number of items all of the SAME TYPE,
including user-defined types such as structures (see above).
Structure: -
In the C programming language, a structure may contain
MULTIPLE DATA TYPES, also including arrays of those types,
and the structure becomes a USER-DEFINED type.

Is This Answer Correct ?    14 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are global variables and explain how do you declare them?

1108


What is size of union in c?

1025


What are pointers? What are stacks and queues?

1154


What is a pointer and how it is initialized?

1161


What is function what are the types of function?

998


What is the value of uninitialized variable in c?

1033


What does c mean in basketball?

998


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2096


What does struct node * mean?

1016


Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

5344


Explain how do you use a pointer to a function?

1110


Why doesnt that code work?

1181


What is the purpose of the preprocessor directive error?

1275


What is the use of putchar function?

1057


Explain what will the preprocessor do for a program?

1069