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 |
c programming of binary addition of two binary numbers
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
Write a program using two-dimensional array that lists the odd numbers and even numbers separately in a 12 input values.
What is the difference between NULL and NUL?
In how much time you will write this c program? Prime nos from 1 to 1000
What are the types of pointers in c?
how we do lcm of two no using c simple if while or for statement
Explain what is the purpose of "extern" keyword in a function declaration?
What are the features of the c language?
What is the best style for code layout in c?
How can I insert or delete a line (or record) in the middle of a file?
Why is c so powerful?