By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,947 Members | 1,220 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,947 IT Pros & Developers. It's quick & easy.

random function

P: 3
for(i=0;i<9;i++)
{
x= (rand()%9+1)
}
for(j=1;j<9;j++)
{
y= (i-j)
i--;
}
what happend when this code executed.pls kindly tell me.
Nov 14 '08 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
What do YOU think happens?
Nov 14 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.