Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Maximum of Arrays
Project 4 v1
B_141121_aleatorios
C_141126_ArrayRepetidos
No Pyramid toggle
HW22
Assignment 8
My first 2D array
a3
A_141205_Palindromo
Please log in to post a comment.