Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
150112_FuncionesOrdenArray
//Title of this code //gcc 4.8.2 #include <stdio.h> short arrayOrdenado(short d, short v[d]); int main(void) { short a[8] = {1, 2, 1, 4, 5, 6, 7, 8}; if(arrayOrdenado(8, a)) { printf("Array SÍ Ordenado\n\n"); } else { printf("Array NO Ordenado\n\n"); } return 0; } short arrayOrdenado(short d, short v[d]) { short i; for(i = 0 ; i < d - 1 ; i++) { if(v[i] > v[i + 1]) return 0; } return 1; }
run
|
edit
|
history
|
help
0
-Wconversion double -> int
string.c
C/Assembly
left significant peace as unison real manual user
20171117_TARTAGLIA
printing numbers without using loop
A_141124arrayRepetidos
Array pass effect
Daniel - hw3q2
MinMaxArray