Assume that a new type called POINT has been defined-- it is a structure consisting of two fields, x and y, both of type double. Assume two variables p1 and p2 of type POINT have been declared. Assume that p1 has already been initialized. Write a statement that gives p2 the same value that p1 has.
.
.
Click on the title for the solution
.
.
.
Click on the title for the solution
.
.
This is the answer:
:
p2=p1;
Comments
Post a Comment