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

Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)

1 Answers   NetApp, PTU, Wipro,


What is difference between static and global variable in c?

0 Answers  


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

1 Answers   TCS,


How many data structures are there in c?

0 Answers  


What is the return type of sizeof?

0 Answers  


In CMM or CMMI certified organizations,we assess only the standard software processes of the organization. We do not assess the organizations other functional departments like HR or Admin. Then how can we certify the entire organization as CMM level company?? We have assessed only software related activities. Right. There is no relation with other departments like Accounts, HR or Admin. Then how can we claim that the whole company is a CMM certified company?

1 Answers   Melstar,


What does %c do in c?

0 Answers  


What is echo in c programming?

0 Answers  


plz let me know how to become a telecom protocol tester. thank you.

0 Answers  


provide an example of the Group by clause, when would you use this clause

0 Answers  


what is the difference between getch() and getchar()?

10 Answers   Huawei, Infosys,


how to estimate the disk access time? e.g. the time between read one byte and another byte in the disk.

3 Answers   Google,


Categories