кстати, эту задачку надо давать на интервью...если чувак не знает..но досвидания.... :rofl: :34:
кстати, эту задачку надо давать на интервью...если чувак не знает..но досвидания.... :rofl: :34:
4 main reasons why Boston is the best place to live:Red Sox (Baseball), Patriots (Football) World Champions
Celtics the NBA (Basketball), Bruins Stanley Cup (Hockey)
похоже Марику надо обьяснить на английском языке. ОК.
The "++" operator is evaluated last. The compiler breaks apart the equation into the following format
j = j + (j++ % 3). 14 is subtitued into the right hand side j = 14 + ( (14) % 3).
The value j is then incremented to 15 due to the "++", however it is irrelevant now as original value of 14 was substituted in already. 14 mod 3 = 2 which is added to 14 thus resulting in right hand side of the equation = 16 and getting assigned to j.
4 main reasons why Boston is the best place to live:Red Sox (Baseball), Patriots (Football) World Champions
Celtics the NBA (Basketball), Bruins Stanley Cup (Hockey)
народ, вам ещё одна задачка! :grum:
which version of Cube method will be used? no any reference please, just use your brain. Thanks.
long Cube(int x)
{
return x * x * x ;
}
int Cube(int x)
{
return x * x * x;
}
Cube(5);
4 main reasons why Boston is the best place to live:Red Sox (Baseball), Patriots (Football) World Champions
Celtics the NBA (Basketball), Bruins Stanley Cup (Hockey)
There are currently 1 users browsing this thread. (0 members and 1 guests)
|
|
Terms of Service | Privacy Policy |
|