7 questions. Covers const and final.
Questions 1 to 5 of 7
sum_to(n)
count_on_stack
count_on_heap
int* const q = &x;
x = 5
*q = 42
q = &y;
*q = 42;
const int* const
cpp class Counter { public: int value() const { ++count_; return count_; } private: int count_ = 0; };
-Wall
cpp #include <cstdio> int countdown(int n) { std::printf("%d\n", n); return countdown(n - 1); }
5 question(s) left on this page.