jais.ashish
BAN USER
Questions (1)
Comments (4)
Reputation 20
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
Nice question.
- jais.ashish November 01, 2012Comment hidden because of low score. Click to expand.
0
of 0 vote
will get compilation error.
error: conflicting return type specified for ‘virtual void Derived::foo()’
Comment hidden because of low score. Click to expand.
2
of 2 vote
void numchars(int nth)
{
int n = 1;
while(nth > pow(26,n))
{
n++;
}
cout<<"num of chars="<<n<<endl;
}
int main()
{
numchars(26);
numchars(676);
numchars(800);
return 0;
}
Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
Can you please elaborate?
- jais.ashish December 10, 2013