what is the use of using linked list and array?
Answer Posted / raj
in linked list reduse time complexit,we can easily delete
element from thaa list,it dynamicaly allocating the memory
in array it will use wast memory for declaration ex arr[50]
u r going to declare only 10 elements then it is waste of
memory......... but for search array is good it can easly
go which element u r give for search..........
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
a value that does not change during program execution a) variabe b) argument c) parameter d) none
Explain how do you view the path?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
How can I find the modification date of a file?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
What is a pointer variable in c language?
Why clrscr is used in c?
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
write an algorithm to display a square matrix.
What will be your course of action for a push operation?
How many levels of pointers can you have?
what does static variable mean?
What's the best way of making my program efficient?