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 |
write a program that prints a pascal triangle based on the user input(like how many stages) in an efficient time and optimized code?
in C-programming language without using printf statement can we get output r not ? if yes how and if no also how ?
what is answer for perfect number????????????????
What is the meaning of 2d in c?
What is the process to generate random numbers in c programming language?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
write a program that will print %d in the output screen??
How can you increase the allowable number of simultaneously open files?
What is indirection?
Is c a great language, or what?
What is meant by int main ()?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?