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 |
how write a addtion of two single dimensional array using of pointer in c language?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
being a chemical engineer and with an aggregate of 80% why you opt for TCS and not your core industry?
What does the c preprocessor do?
Is it possible to create recycle bin in mobiles?
What extern c means?
What is the most efficient way to store flag values?
How can I prevent other programmers from violating encapsulation by seeing the private parts of my class?
What is the argument of a function in c?
Is c dynamically typed?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell