D Question 16 What do variable declarations tell the compiler? O They define a d
ID: 3872640 • Letter: D
Question
D Question 16 What do variable declarations tell the compiler? O They define a data type which restricts what operations can be performed on that variable. O They do not contribute any meaningful information O They concatenate tokens in the iostream to allow variables faster access to memory. O They determine the scope(area in the program) where the variable is accessible from. Question 17 What does a default constructor share in common with a class? O They share the same name. O They are both constructors O They both reside within a class. O They have no noticeable traits since a class's object is created in the main function.Explanation / Answer
(16)A
for example you are not allowed to calculate remainder for floating point numbers , so compiler stops you or restricts you not to do that .
(17)default constructor and Class share the same name and default constructor can be invoked using super keyword.
(14)true , because we need shouble be enough able to make difference between the activities of a function and class activity.
(15)
False .
they can reside within different namespaces in the case of iinheritance and packages .
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.