EMPS intranet |
|
Back to top
Try stepping through the code
Value and type of last evaluated expression:
Address of array element:
Address of array elementx:
(none)
The pointer e inside move_ellipse() points to ellie inside main(). The pointer e inside calculate_area() points to ellie inside main() as it was passed the value by the calling function. The pointer el inside read_ellipse() points to ellie inside main() so el->member refers to ellie.member.
Your browser does not support the canvas element
which will make some the features unavailable.
If you are using Internet Explorer within the University of Exeter try going to the Settings menu (probably the gear shape at the top right of this page), selecting "Compatibility View settings", unchecking "Display intranet sites in Compatibility View" and reloading this page.
Input was: 7.2 4.5 1.2 4.3 1.7 1.1 2.2 3.8
Show output
(Before looking at the output,
work out what you think it put should be and see if you are right.)
|