Write a program to swap 2 chars without using a third
varable?
char *s = "A";
char *p = "B";
Answer Posted / s.divya
void swap(A,B)
{
A=*p;
B=*s;
getch();
}
| Is This Answer Correct ? | 1 Yes | 18 No |
Post New Answer View All Answers
Explain the difference between realloc() and free() in c++?
What do you mean by late binding?
Is eclipse good for c++?
How much do c++ programmers make?
Define macro.
What is microsoft c++ redistributable 2013?
What is a node class in c++?
How do c++ struct differs from the c++ class?
What is a far pointer? where we use it?
What is cin clear () in c++?
What is the use of c++ programming language in real life?
You run a shell on unix system. How would you tell which shell are you running?
Can create new c++ operators?
Write about the access privileges in c++ and also mention about its default access level?
What are the storage qualifiers?