来几个C++测试题# Programming - 葵花宝典
l*0
1 楼
是个面试测试题,下面几个都拿不准,大家讨论啊!
Which of the following statements regarding default arguments of functions
are correct?
A. Default arguments can never precede non-default arguments
B. Default arguments are not considered for generating the function's
signature
C. Default arguments cannot be of pointer type
D. Default arguments exist in the global heap and not on the function's
stack
E. Default arguments cannot be of a user-defined type
A?
which of the following is not a unary operator?
A. !
B. %
C. +
D.
Which of the following statements regarding default arguments of functions
are correct?
A. Default arguments can never precede non-default arguments
B. Default arguments are not considered for generating the function's
signature
C. Default arguments cannot be of pointer type
D. Default arguments exist in the global heap and not on the function's
stack
E. Default arguments cannot be of a user-defined type
A?
which of the following is not a unary operator?
A. !
B. %
C. +
D.