how to swap 4 number without using temporary number?
Answers were Sorted based on User's Feedback
Answer / brinda balakrishnan
a=a+b+c+d;
b=a-(b+c+d);
c=a-(b+c+d);
d=a-(b+c+d);
a=a-(b+c+d);
Is This Answer Correct ? | 25 Yes | 0 No |
What are the features of c language?
what is dangling pointer?
What's the difference between a linked list and an array?
What are data types in c language?
What are the 4 types of programming language?
What is equivalent to ++i+++j?
What is a protocol in c?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
what is a NULL pointer?
Who is the main contributor in designing the c language after dennis ritchie?
print the following using nested for loop. 5 4 3 2 1 1 2 3 4 3 2 1 1 2 1 2 1 1 2 3 4 3 2 1 1 2 3 4 5
What's wrong with "char *p; *p = malloc(10);"?