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...

mplementation of stack using any programing language

Answer Posted / aravind

1. stack as an array or linked list (two ways)
2.define array.
3.perform push operation by taking one more array.
4.perform pop and store the popped items
5.display function to print the popped values
6.make sure you reach LIFO

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are the expressions * ptr ++ and ++ * ptr same?

1094


Compare and contrast compilers from interpreters.

1082


What are the basic data types associated with c?

1231


What is fflush() function?

1089


What does c mean before a date?

1115


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1077


What is the process of writing the null pointer?

989


Explain how do you search data in a data file using random access method?

1083


What is dangling pointer in c?

1151


what is the different bitween abap and abap-hr?

2237


What does a function declared as pascal do differently?

1060


any "C" function by default returns an a) int value b) float value c) char value d) a & b

1050


What are the different types of linkage exist in c?

982


What is the most efficient way to store flag values?

1138


What are pointers in C? Give an example where to illustrate their significance.

1177