Ir al contenido principal

Clase 8_Ordenamiento y busqueda en un arreglo|Parte 1

Este programa es libre de modificación  creado por  Alonso M. y distribuido por CURSOS DOCERE 

//Arreglos con punteros

#include<stdio.h>

int main(){

int *p_arreglo,arreglo[]={16,8,78};

int i;

p_arreglo=arreglo;

for(i=0;i<3;i++){

printf("Elemento del arreglo: %i\n",*(p_arreglo+i));

}

//printf("Elemento del arreglo: %i\n",arreglo[i]);

return 0;

}


Comentarios

Entradas populares de este blog

Aciertos COLBACH COMIPEMS 2022

Aciertos COLBACH COMIPEMS 2022 Colegio de Bachilleres área metropolitana PLANTEL 1 65 aciertos "EL ROSARIO" PLANTEL 2 CIEN METROS 69 aciertos "ELISA ACUÑA ROSSETTI" PLANTEL 3 66 aciertos "IZTACALCO" PLANTEL 4, CULHUACÁN 65 aciertos "LÁZARO CÁRDENAS" PLANTEL 5 66 aciertos "SATÉLITE" PLANTEL 6 57 aciertos "VICENTE GUERRERO" PLANTEL 7 56 aciertos "IZTAPALAPA" PLANTEL 8 62 aciertos "CUAJIMALPA" PLANTEL 9 60 aciertos "ARAGÓN" PLANTEL 10 53 aciertos "AEROPUERTO" PLANTEL 11 50 aciertos "NUEVA ATZACOALCO" PLANTEL 12 21 aciertos "NEZAHUALCÓYOTL" PLANTEL 13, XOCHIMILCO TEPEPAN 69 aciertos "QUIRINO MENDOZA Y CORTÉS" PLANTEL 14, MILPA ALTA 65 aciertos "FIDENCIO VILLANUEVA ROJAS" PLANTEL 15 66 aciertos "CONTRERAS" PLANTEL 16, TLÁHUAC 62 aciertos "MANUEL CHAVARRÍA CHAVARRÍA" PLANTEL 17 70 aciertos "HUAYAMILPAS PEDREGAL" PLANTEL 18 5...

Aciertos UNAM COMIPEMS 2022

  Aciertos UNAM COMIPEMS 2022 ENP (Escuela Nacional Preparatoria) ENP 1 102 aciertos PLANTEL "GABINO BARREDA" ENP 2 110 aciertos PLANTEL "ERASMO CASTELLANOS QUINTO" ENP 3 105 aciertos PLANTEL "JUSTO SIERRA" ENP 4 97 aciertos PLANTEL "VIDAL CASTAÑEDA Y NÁJERA" ENP 5 105 aciertos PLANTEL "JOSÉ VASCONCELOS" ENP 6 111 aciertos PLANTEL "ANTONIO CASO" ENP 7 99 aciertos PLANTEL "EZEQUIEL A. CHÁVEZ" ENP 8 98 aciertos PLANTEL "MIGUEL E. SCHULZ" ENP 9 109 aciertos PLANTEL "PEDRO DE ALBA" CCH (Colegio de Ciencias y Humanidades) CCH AZCAPOTZALCO 91 aciertos CCH NAUCALPAN 88 aciertos CCH ORIENTE 95 aciertos CCH SUR 94 aciertos CCH VALLEJO 94 aciertos

Antigua Persia

Persia (aproximadamente en el actual Irán) es una de las regiones habitadas más antiguas del mundo. Los yacimientos arqueológicos del país demuestran que la población humana se remonta 100 000 años atrás, al Paleolítico, con asentamientos semipermanentes (probablemente grupos de caza) establecidos antes del 10 000 a.C. El antiguo reino de Elam, situado en esta zona, fue uno de los más avanzados de su época (su asentamiento más antiguo, el yacimiento arqueológico de Chogha Bonut, data alrededor del 7200 a.C.) antes de que  los sumerios  conquistaron primero algunas partes, para ser finalmente absorbido por los asirios y luego por los medos. Al Imperio medo (678-550 a.C.) le siguió una de las mayores entidades políticas y sociales del mundo antiguo, el Imperio persa aqueménida (550-330 a.C.), conquistado por  Alejandro Magno  y posteriormente sustituido por  el Imperio seléucida  (312-63 a.C.), Partia (247 a.C.-24 a.C.) y  el Imperio sasánida  (224-...