Answer Posted / tayyab
By using recent two variables swap code will be
a=3;
b=5;
a=a+b; a=8
b=a-b; b=3
a=a-b; a=5
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
How to Split Strings with Regex in Managed C++ Applications?
i really need help about this.. write a program to display the set of odd and even numbers separately. find the highest and lowest value of the given numbers.
Code for Method of Handling Factorials of Any Size?
write a program that reads a series of strings and prints only those strings begging with letter "b"
What output does the following code generate? Why? What output does it generate if you make A::Foo() a pure virtual function? class A { A() { this->Foo(); } virtual void Foo() { cout << "A::Foo()" << endl; } }; class B : public A { B() { this->Foo(); } virtual void Foo() { cout << "A::Foo()" << endl; } }; int main(int, char**) { A objectA; B objectB; return 0; }
develop a program to calculate and print body mass index for 200 employees
Code for Easily Using Hash Table?
create a stucture student containing field for roll no,class,year and marks.create 10 student annd store them in a file
write a program to perform generic sort in arrays?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
write a program that can LOCATE and INSERT elements in array using c++ programming languages.
write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used
output for printf("printf");
write a program that reverses the input number of n.Formulate an equation to come up with the answer.