int i, nhashprime = nextprime(2 * hashprime) ;
Does this line equal
int i, nhashprime;
i = nextprime(2 * hashprime);
nhashprime = i;
or does it do something else?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This initializes
nhashprimeand noti. Theintpart applies to bothiandnhashprime, but the assignment only applies tonhashprime. The code is equivalent toIt’s generally not a good idea to combine multiple declarations into one, except in the simple case with simple types and no initialization:
Note in particular that pointer markers do not distribute to multiple identifiers either:
should be avoided and is equivalent to