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 swap two strings without using any third variable ?

Answer Posted / doesntmatter

" PLEASE DON'T REFER ABOVE THREE SOLUTION BCOZ THEY ARE FOR
INTEGER NOT FOR STRING. "

lol

(c) string -> char * -> pointer -> integer.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of using a pointer?

1074


Why is c++ a mid-level programming language?

1035


Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes

1071


Explain what happens when a pointer is deleted twice?

1251


Define copy constructor.

1096


What is the difference between public, private, and protected access?

1063


Can we define function inside main in c++?

1005


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

1077


Explain queue. How it can be implemented?

1150


Explain the difference between abstract class and interface in c++?

976


What is array in c++ example?

1104


What is overloading unary operator?

1080


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

1947


What is the best c++ book?

1262


What type of question are asked in GE code writing test based on c++ data structures and pointers?

3973