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 |
wite a programme in c to linear search a data using flag and without using flags?
What is use of bit field?
Find occurence of a character in a sting.
Was 2000 a leap year?
what is a NULL pointer?
What does. int *x[](); means ?
how to print 212 as Twohundreds twelve plz provide me ans soon
Why c is faster than c++?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
how to get the starting address of file stored in harddisk through 'C'program.
prog for 1st five prime numbers in 2^x - 1
define switch statement?