Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
pointer_swap
//gcc 5.4.0 #include <stdio.h> void swap(int *a,int *b) { int *t; *t=*a; *a=*b; *b=*t; printf("%d\n%d",*a,*b); } int main() { int p=3,q=2,*a,*b; a=&p; b=&q; swap(a,b); return 0; }
run
|
edit
|
history
|
help
1
strrev
Pointer arithmatic
Padding Err
ej 2 c3
Tree
14th Feb Project v0.3
PREGUNTA 2, GUÍA 4, MÓDULO 3
Pointer
Reverse.CPP
Array Practice