16/11/2022 ; 6:30 PM

This commit is contained in:
2022-11-16 18:28:01 -04:00
parent 77bcc9e8f9
commit 764066a5a9
17 changed files with 878 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#include <stdio.h>
/* Apuntadores y arreglos */
void main(void)
{
int V1[4] = { 2, 3, 4, 7 }, V2[4] = { 6 };
int* AX, * AY;
AX = &V1[3];
AY = &V2[2];
V1[V2[0] - V1[2]] = *AY;
*AY = *AX - V1[0];
printf("\nV1[0] = %d V1[1] = %d V1[2] = %d V1[3] = %d \tV2[0] = %d V2[1] = %d V2[2] = %d V2[3] = %d", V1[0], V1[1], V1[2], V1[3], V2[0], V2[1], V2[2], V2[3]);
V2[1] = ++ * AX;
V2[3] = (*AY)++;
*AX += 2;
printf("\nV1[0] = %d V1[1] = %d V1[2] = %d V1[3] = %d \tV2[0] = %d V2[1] = %d V2[2] = %d V2[3] = %d", V1[0], V1[1], V1[2], V1[3], V2[0], V2[1], V2[2], V2[3]);
}