Mauricio.Malf
BAN USER
Questions (2)
Comments (4)
Reputation 140
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
If size is zero, the return value depends on the particular library implementation (it may or may not be a null pointer), but the returned pointer shall not be dereferenced.
- Mauricio.Malf May 29, 2013Comment hidden because of low score. Click to expand.
2
of 2 vote
It is equals to CROSS JOIN
- Mauricio.Malf February 21, 2013Comment hidden because of low score. Click to expand.
0
of 0 vote
int HashFunc1 (const char* s, int size)
{
unsigned int h = (unsigned int)strlen(s);
int step = (int)((h>>5)+1);
for (int i=h; i>=step; i-=step)
h = h ^ ((h<<5)+(h>>2)+(unsigned char)(s[i-1]));
return h%(size-1);
}
Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
Open Chat in New Window
Open Chat in New Window
It is tagged C++.
- Mauricio.Malf May 31, 2013