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

Consider a language that does not have arrays but does have
stacks as a data type.and PUSH POP..are all defined .Show
how a one dimensional array can be implemented by using two
stacks.

Answer Posted / gingercpu

One to pop and the other to push. Have to maintain all the
elements. Index converted to the # of push and pop

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

1010


explain what is a newline escape sequence?

1039


How can I direct output to the printer?

1270


What is a char c?

991


How we can insert comments in a c program?

1068


How do you use a pointer to a function?

1025


What is pragma in c?

1124


explain what is fifo?

1023


Are the variables argc and argv are always local to main?

969


What does stand for?

1043


How can you find the day of the week given the date?

1145


What is an endless loop?

1225


What is difference between constant pointer and constant variable?

1198


Explain what are preprocessor directives?

1011


Differentiate call by value and call by reference?

915