Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Vectores: Burbuja ordenación
//Title of this code //clang 3.6.0 #include <stdio.h> #include <stdlib.h> int main(void) { int v[1000]={1,2,3,4,5,6}; int i; // The rand() function in <stdlib.h> returns a pseudo-random integer between 0 and RAND_MAX. // You can use srand(unsigned int seed) to set a seed. for (i=0; i<=10; i++) printf("posición v[%d] = %d\n", i, v[i]); return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Herout (67) - 13
Bucles: Media 10 positivos y negativos tecleados
C99 doesn't allow initializers in if-conditions, so this does not compile.
prog0
Bucles: Rombo asimetrico
CV09-2
correccion
Linear Classifier in C
Lazy dope vectors by Henry Kroll III www.thenerdshow.com
Día de la semana
stackse - search stackoverflow differently
Please log in to post a comment.