Answer the following questions true (T) or false (F)

1. Inline functions are always more efficent than noninline functions.

2. A static variable of a class cannot be changed.

1. False
Explanation: For larger functions inline can be less efficient.
2. False
Explanation: The static member can be accesses and assigned as
ClassName::staticMember = 17.0; //if the type is double

Computer Science & Information Technology

You might also like to view...

A(n) ________ is a set of rules for communication between devices that determine how data is formatted, transmitted, received, and acknowledged

Fill in the blank(s) with correct word

Computer Science & Information Technology

It is possible to reuse slides from a different file when creating a presentation

Indicate whether the statement is true or false

Computer Science & Information Technology