Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
swap two numbers without arithematic operators
//gcc 5.4.0 #include <stdio.h> int main() { void swap(int,int); int a=2,b=5; swap(a,b); } void swap(int a,int b) { a = a^b; b = a^b; a = a^b; printf("a and b are :%d,%d",a,b); return 0; }
run
|
edit
|
history
|
help
1
Please
log in
to post a comment.
Camping
150112_CribaErastotenes
Volume of sphere
PER problem 2
MEMORy eRROR
18BCE2182 ASSESS_1 Q2-2
problemapi2
In Class 1.23.17 Bit operations
Lab6 v1.1 Sin,cos,tan,cot
A_141124Burbuja
Please log in to post a comment.