ALLInterview.com :: Home Page            
 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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
   
 
Categories  >>  Software  >>  Operating Systems  >>  Data Structures
 
 


 

 
 Windows interview questions  Windows Interview Questions
 Linux interview questions  Linux Interview Questions
 Unix interview questions  Unix Interview Questions
 Solaris interview questions  Solaris Interview Questions
 RTOS interview questions  RTOS Interview Questions
 Bulnex interview questions  Bulnex Interview Questions
 Operating Systems General Concepts interview questions  Operating Systems General Concepts Interview Questions
 Data Structures interview questions  Data Structures Interview Questions
 Operating Systems AllOther interview questions  Operating Systems AllOther Interview Questions
Question
Stack can be described as a pointer. Explain.
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Stack can be described as a pointer. Explain.
Answer
# 1
Because stack will contain a head pointer which will always
point to the top of the Stack.
All Stack Operations are done using Head Pointer. Hence
Stack ca be Described as a Pointer
 
Is This Answer Correct ?    33 Yes 3 No
Pramod
 
  Re: Stack can be described as a pointer. Explain.
Answer
# 2
the TOP of Stack element is pointed by a pointer,when we
use PUSH and POP operations i.e. LIFO.
 
Is This Answer Correct ?    9 Yes 1 No
Shweta
 
 
 
  Re: Stack can be described as a pointer. Explain.
Answer
# 3
stack is last in first out property,so lastly pushed
element is poped out first.so when a pointer is pointed it
always points out the head pointer i.e the top element in
the stack.,so stack is also described as pointer.
 
Is This Answer Correct ?    7 Yes 0 No
Kavitha
 
  Re: Stack can be described as a pointer. Explain.
Answer
# 4
Because stack will contain a head pointer which will always point to the top of the Stack. All Stack Operations are done using Head Pointer. Hence Stack can be Described as a Pointer 
Is This Answer Correct ?    3 Yes 0 No
Mousumi
 

 
 
 
Other Data Structures Interview Questions
 
  Question Asked @ Answers
 
how to search an element in sorted linked list with time complexity is O(log n). Wipro3
wt is a datastructure CybAge8
No. of possible ordered trees with n nodes ? Please give formula (if any).  1
Which sort show the best average behavior?  9
A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?  12
How will inorder, preorder and postorder traversals print the elements of a tree?  11
Why enum can not be used directly with printf function?  3
Explain binary searching, Fibinocci search. IBM5
sir plz. send me a bunch of questions related to this topic which may help me in campus selection ABC1
When will you sort an array of pointers to list elements, rather than sorting the elements themselves?  5
What is a data structure? Keane-India-Ltd12
what is AVL tree? ADS5
 
For more Data Structures 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 © 2012  ALLInterview.com.  All Rights Reserved.

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