Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

a bit urgent...

$
0
0
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

Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>