Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
B_141212_IntercambiarPunteros
//Title of this code #include <stdio.h> void intercambiarValores(short *x, short *y); int main(void) { short a = 5, b = 2; intercambiarValores(&a, &b); printf("\n\na: %hd ; b: %hd\n\n\n", a, b); return 0; } void intercambiarValores(short*x, short*y) { short aux = *x; *x = *y; *y = aux; return; }
run
|
edit
|
history
|
help
0
bitmask shift
Sumit
diagonal sum
Project v0.12
sample.c
B_141107_Factorial
menu
tickeParsing.c
Numero de veces digito
SOLUCION USANDO UN CICLO Y PUNTERO