VaultBy ENSAMIENParrainage
C20 lines

tp4-ex4.c

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#include <stdio.h>
#include <stdlib.h>
#define taille_max 100

int main()
{
    int A[] = {12, 23, 34, 45, 56, 67, 78, 89, 90};
    int *P;
    P = A;
    int a = *P+2;
    int b = *(P+2);
    int c = &P+1;
    int d = &A[4]-3;
    int e = A+3;
    int f = &A[7]-P;
    int g = P+(*P-10);
    int h = (P+*(P+8)-A[7]);
    printf("%d",h);
    return 0;
}

    Type at least 2 letters. ↑ ↓ to move, Enter to open.