b*******y 发帖数: 32 | 1 拿到一个bloomberg电面,赶紧准备了一些面试题贴在这里,算是临阵磨枪吧。
===C++===
$. Which one of the following statements accurately
expresses the disadvantages of making a function inline?
a) Inline functions always make the program bigger.
b) Inline functions always make the program slower.
c) Inline functions always make the program bigger and slower.
d) It is not possible to take the address of an inline function.
e) It increases compile-time dependencies.
$. Give scenarios in which even when specifying a func as
inline w |
m*****n 发帖数: 2152 | |
b*******y 发帖数: 32 | 3 是e,
【在 m*****n 的大作中提到】 : The answer is "a"?
|
m*****n 发帖数: 2152 | 4 OK,我理解错了意思,是e没错。
【在 b*******y 的大作中提到】 : 是e,
|
j**l 发帖数: 2911 | 5 含有always这样绝对化字眼的选项,一般都不对 |
m*****n 发帖数: 2152 | 6 2. func太长,func有循环的时候,这样内存消耗太大。
【在 b*******y 的大作中提到】 : 拿到一个bloomberg电面,赶紧准备了一些面试题贴在这里,算是临阵磨枪吧。 : ===C++=== : $. Which one of the following statements accurately : expresses the disadvantages of making a function inline? : a) Inline functions always make the program bigger. : b) Inline functions always make the program slower. : c) Inline functions always make the program bigger and slower. : d) It is not possible to take the address of an inline function. : e) It increases compile-time dependencies. : $. Give scenarios in which even when specifying a func as
|
q**r 发帖数: 611 | |
m*****n 发帖数: 2152 | 8 3. zombie 是 object created with no life,can do nothing with the object.
【在 b*******y 的大作中提到】 : 拿到一个bloomberg电面,赶紧准备了一些面试题贴在这里,算是临阵磨枪吧。 : ===C++=== : $. Which one of the following statements accurately : expresses the disadvantages of making a function inline? : a) Inline functions always make the program bigger. : b) Inline functions always make the program slower. : c) Inline functions always make the program bigger and slower. : d) It is not possible to take the address of an inline function. : e) It increases compile-time dependencies. : $. Give scenarios in which even when specifying a func as
|
m*****n 发帖数: 2152 | 9 这都是bloomberg面试题?会的不到60%,完蛋了。
【在 b*******y 的大作中提到】 : 拿到一个bloomberg电面,赶紧准备了一些面试题贴在这里,算是临阵磨枪吧。 : ===C++=== : $. Which one of the following statements accurately : expresses the disadvantages of making a function inline? : a) Inline functions always make the program bigger. : b) Inline functions always make the program slower. : c) Inline functions always make the program bigger and slower. : d) It is not possible to take the address of an inline function. : e) It increases compile-time dependencies. : $. Give scenarios in which even when specifying a func as
|
n*w 发帖数: 3393 | 10 How to take the address of an inline function? |
k*******n 发帖数: 8891 | |
c******g 发帖数: 266 | |