Vous êtes sur la page 1sur 1

1.

1 ARBOLES DE EXPRESIN
EJEMPLO 1:

EJEMPLO 2

EJEMPLO 3

1.3 COMPROBACIN DE TIPOS DE EXPRESIONES.


EJEMPLO 1
pl@nereida:~/Lbook/code/Simple-Types/script$ usetypes.pl prueba18.c 2
1 int c[20][30], d;
2
3 int f(int a, int b) {
4 if (c[2] > 0)
5 return
6
(a+b)*d*c[1][1];
7}
Type Error at line 4: Incompatible types with operator '>'

Vous aimerez peut-être aussi