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

convert 12345 to 54321 withoutusing strig

Answer Posted / pavan kumar b n

By making use of stack data structure.... i.e., first push
all the numbers and then pop them .. since stack is LIFO
order , the numbers get reversed....

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I automatically locate a programs configuration files in the same directory as the executable?

1100


What are the advantages of c language?

1037


If I have a char * variable pointing to the name of a function ..

1110


How do you determine the length of a string value that was stored in a variable?

1076


How can type-insensitive macros be created?

1123


What is this infamous null pointer, anyway?

987


How can you increase the allowable number of simultaneously open files?

1087


What is a function simple definition?

1029


What is the advantage of c?

1041


how can use subset in c program and give more example

1921


Explain can you assign a different address to an array tag?

1009


What do you mean by a sequential access file?

1038


Write a program to print factorial of given number without using recursion?

946


what is stack , heap ,code segment,and data segment

2630


What is NULL pointer?

1033