In C++, a variable that has been defined but not initialized may

a. be used in any way any identifier can be used.
b. not be used at all
c. not be used as an l-value
d. not be used as an r-value
e. have its value fetched prior to assignment.


c) is correct.
Explanation: The value of an uninitialized variable may not be fetched, but a value may be assigned to an uninitialized variable.

Computer Science & Information Technology

You might also like to view...

The developer can help sustain the formaility in the development process during maintenance by creating a change control board.

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

Computer Science & Information Technology

Case 2You have started to create a new video. You are working in Adobe Premiere Elements. Answer the following questions about working with Adobe Premiere. What must you do first before you can add an effect to a video clip?

A. Click the Edit tab B. Move the video clip from the Project panel to the Monitor panel C. Click the Effects button D. Select the video clip in the Sceneline

Computer Science & Information Technology

Tab-delimited files use tabs to separate data into new rows.

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

Computer Science & Information Technology

Case Based Critical ThinkingCase 1You have created a very long web page. Answer the following questions about the navigation structure for this web page. Which of the following would not be good to use on your long web page because it does not exemplify a user-friendly navigation structure?

A. Plain text navigational links at the bottom of the page B. A link to the home page for the site C. A link that uses the phrase "Click here." D. An anchored link

Computer Science & Information Technology