Download Data concepts, Operators

Document related concepts

Narrowing of algebraic value sets wikipedia , lookup

The Measure of a Man (Star Trek: The Next Generation) wikipedia , lookup

Pattern recognition wikipedia , lookup

Data (Star Trek) wikipedia , lookup

Time series wikipedia , lookup

Transcript

Assume the declarations with initial values
specified
◦

int
A, B, N = 4, M = 3 ;
What are the final values of A, B, N and M ?
◦
◦
◦
A = N++ ;
B = ++M + N-- ;
A = --A ;
◦ ANSWER:
A=3
/* watch out ! */
B=9
N=4
M=4