Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
A_141212_IntercambiarValores
//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", a, b); return 0; } void intercambiarValores(short *x, short *y) { short aux = *x; *x = *y; *y = aux; printf("\n\tx = %hd ; y= %hd\n", *x, *y); return; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Difference between memcpy n strncpy
MATRICES TRIANGULARES
Command Expressions in Gnu C: What Does Return Return?
date diff sample
string_ptr_to_fct_param
Largest and smallest
new
DUE BY TUESDAY
C_141120_factorial01
1.2 No. of Threads
Please log in to post a comment.