Skip to content
EMPS intranet

Back to top
Hi!   Hi!           Start main()

Try stepping through the code


  Value and type of last evaluated expression: Address of array element: Address of array elementx:  (none)

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.

Code

 Header...
// Test ++
int main(){
  ...
» int i=7, j; » float x=1.414, y; » complex z1, z2; » j=i++; » y=x--; » z1=1.2+2.3*I; » z2=z1++; » return 0;
}

Where two numbers are shown the first is the real part, the second the imaginary.

Memory

main()

128
129
130
131
132
133
134
135
i = 7
j = 1
136
137
138
139
140
141
142
143
x = 1.41400003
y = -4.50504454e+33
144
145
146
147
148
149
150
151
z1(r) = 4.24399e-312
152
153
154
155
156
157
158
159
z1(i) = -3.15997e+267
160
161
162
163
164
165
166
167
z2(r) = -1.24245e+267
168
169
170
171
172
173
174
175
z2(i) = 4.93475e-270

NB: the actual memory address of each variable is the
address shown plus 4291151768 (0xFFC5C798).

Show Advanced options

.
                                                                                                                                                                                                                                                                       

Validate   Link-check © Copyright & disclaimer Share
Back to top