In C++, a variable that has been defined but not initialized may not be use as an ______. (l-value or r-value).

Fill in the blank(s) with correct word

r-value
Explanation: The value of an uninitialized variable may not be fetched. C++ does not enforce this. If an uninitialized variable’s value is fetched you get whatever value was left in the memory location by a previous user. Note that the value is garbage in the dictionary sense, It is not a random value.

Computer Science & Information Technology

You might also like to view...

How do you use the Linux command-line program for accessing SMB shares?

What will be an ideal response?

Computer Science & Information Technology

The Unified Modeling Language (UML) uses a set of symbols to represent graphically the _____ within a system.

A. ?feasibility B. ?accuracy C. ?components D. ?relationships

Computer Science & Information Technology