What is the difference b/w Structure & Array?

Answer Posted / namita

1-array is the collection of variables of same kind of data
types where as structure is a colection of variables of
different type os data types.

2-Array use index or subscript to access its members where
as structure uses "." operator.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of c language?

646


What is a ternary operator in c?

654


pierrot's divisor program using c or c++ code

1732


What is a constant and types of constants in c?

604


Is main a keyword in c?

632






Describe the modifier in c?

603


What is union in c?

639


What are pointers? What are different types of pointers?

632


What is keyword in c?

604


How do you search data in a data file using random access method?

834


Using which language Test cases are added in .ptu file of RTRT unit testing???

3602


When can a far pointer be used?

588


List the difference between a While & Do While loops?

639


What are the scope of static variables?

601


How can I insert or delete a line (or record) in the middle of a file?

575