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.



What is a C array and illustrate the how is it different from a list...

Answer / 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

More C Interview Questions

wite a programme in c to linear search a data using flag and without using flags?

3 Answers   TCS,


What is use of bit field?

0 Answers  


Find occurence of a character in a sting.

3 Answers   TCS,


Was 2000 a leap year?

0 Answers  


what is a NULL pointer?

2 Answers  


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

0 Answers   Wilco,


how to print 212 as Twohundreds twelve plz provide me ans soon

1 Answers  


Why c is faster than c++?

0 Answers  


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

0 Answers   Expedia,


how to get the starting address of file stored in harddisk through 'C'program.

2 Answers   Siemens,


prog for 1st five prime numbers in 2^x - 1

0 Answers  


define switch statement?

6 Answers   CTS,


Categories