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 a C array and illustrate the how is it different from a list.

Answer Posted / rutuja pawar

Suppose,
int arr[5]={10,20,30,40,50};
I want to add value at index first 60,so array will change like that
arr[5]={10,60,20,30,40,50};
for this output I have to shift the array element.
but in List I can insert directly and delete directly.
that means:
1) In Array: Insertion and deletion is not faster , but Accessing time is less
2)In List: Insertion and deletion is faster but accessing time is more.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1981


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1357


What is meant by keywords in c?

1114


What is array in c with example?

1359


Is a house a mass structure?

1154


How important is structure in life?

1147


What is a spanning Tree?

1660


write a program to create a sparse matrix using dynamic memory allocation.

4956


Which is the best website to learn c programming?

1135


What is string function in c?

1050


What is fflush() function?

1190


Explain how can I prevent another program from modifying part of a file that I am modifying?

1142


What are different types of variables in c?

1127


How can I invoke another program or command and trap its output?

1151


What is dynamic dispatch in c++?

1108