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...
int main(){
  ...
» int i, *ip; » double x, *ix, ar[2]; » i=sizeof ar; » i=sizeof ar[0]; » i=sizeof (ar[0]); » i=sizeof "abcd"; » i=sizeof (double); » i=sizeof (x); » i=sizeof x; » i=sizeof *ix; » i=sizeof *ip; » i=sizeof (i+1); » i=sizeof (i+1.0); » i=sizeof ix; » return 0;
}
Memory

main()

132
133
134
135
i = -144736856
136
137
138
139
140
141
142
143
ip = -4288843535
ix = -4288843336
144
145
146
147
148
149
150
151
x = -3.33731171e+267
152
153
154
155
156
157
158
159
ar[0] = -1.33112441e+267
160
161
162
163
164
165
166
167
ar[1] = 4.93680237e-270

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

Show Advanced options

.
                                                                                                                                                                                                                                                                       

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