What code fragments will not cause a compilation error when inserted into string (1) independently of each other?
struct A {
  // (1)
(a) - does not fit, because the constructor cannot be static.
(b) - the constructor cannot be constant
(c) - the method cannot be both static and constant
(d) - virtual functions cannot be static
(e) - is compiled, A::Foo() is a virtual constant method

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Зареєструйся Зараз
або Підпишись на майбутні тести