Card 7 / 15: Considering the following definitions, which of the provided statements (if any) are invalid? double x= 0.5, y=4.9; double *px, *py, &rx=x;
A)
px =&x; double &rx = *px ;
B)
px = py;
C)
double &ry = rx;
D)
px = px = rx;
E)
px = py = *x;
Answer:
A) px =&x; double &rx = *px ;
D) px = px = rx;
E) px = py = *x;
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Foundations of Software Engineering
Author:
Prof.Kevin AmaratungaProfessor
MIT Massachusetts Institute of Technology
USA
Access: |