Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28597 Discussions

How does the memory work in the program?

faith165
Beginner
279 Views
The program:

the output is
543648098

Can you explain the reason?
How does the memory work?
Thanks!
0 Kudos
4 Replies
Les_Neilson
Valued Contributor II
279 Views
I cannot see your program attachment.
Did you follow the steps herefor attaching files?

Les
0 Kudos
anthonyrichards
New Contributor III
279 Views
When I asked the question, the answer was 42, if memory serves....
0 Kudos
Les_Neilson
Valued Contributor II
279 Views
When you get to my age they say memory is one of the first things to go.
I can't remember what the other things are.
:-)
Les
0 Kudos
mecej4
Honored Contributor III
279 Views
If I recall correctly, the statements that produced the output could have been

program tst
print *,2*7*3769*10303
end

0 Kudos
Reply