ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  OOPS
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
Name an advantage of linked list over array?
 Question Submitted By :: Kunal
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Name an advantage of linked list over array?
Answer
# 1
1. Array size is fix and cannot change at run time,But in 
link list we can create memory accoring to requirement.
2. In array we define but at the run time it is not used so 
in that case memory is waste.
 
Is This Answer Correct ?    0 Yes 0 No
Manoj Kumar Jha
 
  Re: Name an advantage of linked list over array?
Answer
# 2
array always contain static memory location even linklist 
contain dynamic memory location.In once declaration of an 
array we can store smae type of data but in linkedlist 
hetrogeneous link list is possible which can be contain 
diffrent diffrent types of data type in linkedlist.in link 
list we are using void pointer.
 
Is This Answer Correct ?    0 Yes 0 No
Ritesh Parkhi
 
 
 
  Re: Name an advantage of linked list over array?
Answer
# 3
Array is of fix size & contain always same type of data.

Whereas linklist is dynamic in size.And a type of linklist 
have capability to store different type of data at its 
nodes, and for doing that we use void pointer( a pointer 
that can point any type of data )
 
Is This Answer Correct ?    0 Yes 0 No
Azhar Iqbal
 
  Re: Name an advantage of linked list over array?
Answer
# 4
double dimension array
 
Is This Answer Correct ?    0 Yes 0 No
Varsha Vilas Kalebag
 
  Re: Name an advantage of linked list over array?
Answer
# 5
In array we can directly access any element by index number 
but in Linked list it is not possible,in linked list if we 
want to access any element then we go from starting node.
 
Is This Answer Correct ?    0 Yes 1 No
Amandeep Singh Bhatia
 
  Re: Name an advantage of linked list over array?
Answer
# 6
in array we can
 
Is This Answer Correct ?    1 Yes 3 No
Amar Muduli
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
What is public, protected, private? Satyam4
In what situation factory design patterns,DAO design patterns,singleton design patterns should be applied.?  1
In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that  4
WHEN A COPY CONSTER IS CALL ?  1
Which is the parameter that is added to every non-static member function when it is called?  3
What is Agile methodology? Inmar2
wht is major diff b/w c and c++?  3
what is the function of 'this' operator ?  4
what is virtual function? Infosys11
What is the difference between declaration and definition?  6
features of OOPS Ness-Technologies5
What is virtual class and friend class? Intel2
Why do we use virtual functions?  3
Describe what an Interface is and how it?s different from a Class. Spinsys4
why c++ is called OOPS? waht is inherutance? what is compiler?  2
Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed? EA-Electronic-Arts2
the difference between new and malloc Siemens3
how do u initialize the constant variables Siemens4
How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization? IntraLogic1
Write a macro for swapping integers  3
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com