Q:

Whether a given object (or expression) is a constant expression depends on the types and the initializers. For example

0

Whether a given object (or expression) is a constant expression depends on the types and the initializers.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

const int max_files = 20; // max_files is a constant expression
const int limit = max_files + 1; // limit is a constant expression
int staff_size = 27; // staff_size is not a constant expression
const int sz = get_size(); // sz is not a constant expression

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now