algorithm , C/C++ Programming

write an algorithm to swap values without using third variable
Posted Date: 10/22/2012 2:23:47 PM | Location : United States







Related Discussions:- algorithm , Assignment Help, Ask Question on algorithm , Get Answer, Expert's Help, algorithm Discussions

Write discussion on algorithm
Your posts are moderated
Related Questions
Semaphore is used to synchronize processes. whereas mutex is used to give synchronization among threads running in the similar process.

Program to show the ascii value of characters: int main() {                 int one_char;                 cout                 one_char = getch();

Design a game in c: const DODGERS = 0; const GIANTS = 1;   void main(void) {    int scoreboard [2][9];    // An array two rows by nine columns    int team, i

differentiate between inbuilt and user defined functions

Programming Assignment # 1 C and UNIX   The purpose of this assignment is to get you more familiar with Unix/Linux and those constructs of C that are not part of C++. Write a C

What are the debugging methods you employ while came across a problem? A: Debugging with tools such as: 1.      DBG, GDB ,Forte, Visual Studio. 2.      Using tusc to trace

Explain the For Loop - Computer Programming? Similar to the while statement, for loop is an entry controlled loop and the code of the for loop will be executed itereatively. Th

C Program for EVEN & ODD NO IN ANY MATRICES #include stdio.h> #include conio.h> void main() {           int a[100][100];           int i=0,j=0,r,c,even=0,odd=0;


Using a Friend Using a friend function is quite easy. The following example explains a friend function to access members of two classes. class Bclass;