Previous Next Up Index Contents

Exercice 3.8

Soient les déclarations:

	long  A = 15;
	char  B = 'A';        /* code ASCII : 65 */
	short C = 10;

Expression

Type
Valeur
(1)
C + 3
int
13
(2)
B + 1
int
66
(3)
C + C
int
75
(4)
3 * C + 2 * B
int
160
(5)
2 * B + (A + 10) / C
long
132
(6)
2 * B + (A + 10.0) / C
double
132.5


Previous Next Up Index Contents


Feedback - Copyright © 1993,1996,1997 F.Faber