cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
a bit urgent...
a bit urgent...
Jul 18, 2013 at 7:07pm UTC
sinha2366
(4)
What is the final value of x after this code fragment is over..?
We're nt looking at the lines before or after this code because that is independent and doesn't matter.
long x=3;
for (long i = 0; i <5237; i++)
{
x*=4
x%=15
}
Thanks
Jul 18, 2013 at 7:12pm UTC
closed account (
Dy7SLyTq
)
just run it...
Jul 18, 2013 at 7:19pm UTC
sinha2366
(4)
I can't right now, or else I would.
Topic archived. No new replies allowed.