Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to implement stack work as a queue?

Answers were Sorted based on User's Feedback



how to implement stack work as a queue?..

Answer / kisna

by using two pointers

Is This Answer Correct ?    5 Yes 2 No

how to implement stack work as a queue?..

Answer / shruti

it can be done using linked list.
create a linked list as a stack..

while displaying
display reverse. :-)

i can write a code for u if u want..

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More C Interview Questions

Explain the use of #pragma exit?

0 Answers  


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

0 Answers  


what is difference between array and structure?

44 Answers   College School Exams Tests, CTS, Google, HCL, IBM, Motorola, TCS,


Write a program in C to convert date displayed in gregorian to julian date

0 Answers   HCL, Wipro,


what is c?

13 Answers   Tech Mahindra,


What is malloc() function?

0 Answers  


What is the use of header?

0 Answers  


Explain how can you tell whether two strings are the same?

0 Answers  


Write a c program to Find the name that you entered is male name or female name? Such as Sunjay is name of male and Payal is name of female

5 Answers   Infosys, Luminous,


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

0 Answers  


What is static memory allocation? Explain

0 Answers  


Explain what is wrong in this statement?

0 Answers  


Categories