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 is expression parser in c++

1881


Why do we need templates?

534


If you don’t declare a return value, what type of return value is assumed?

536


Describe the advantages of operator overloading?

569


what is upcasting in C++?

712






What is pair in c++?

623


How do you declare a set in c++?

520


How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?

605


State two differences between C and C++.

601


What are the two main components of c++?

582


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

575


When should you use global variables?

622


Explain the concept of copy constructor?

613


What is the main purpose of c++?

534


Can non-public members of another instance of the class be retrieved by the method of the same class?

601