What is the output of the following code segment if the data entered are 3, 2 and 4?
int x, y, z;
cout << “Enter three numbers: “;
cin >> x >> y >> z;
y = x + z;
x = z + 1;
cout << x << “ “ << y<< “ “ << z;
5 7 4
You might also like to view...
The ________ abstract classes are Unicode character-based streams.
a. Reader and Writer b. BufferedReader and BufferedWriter c. CharArrayReader and CharArrayWriter d. UnicodeReader and UnicodeWriter
The benefit of creating a(n) ____ is that you can link files that are on separate partitions or even different computers.
A. directory B. inode C. hard link D. symbolic link
In HTML5, ____ is recommended as a semantic marker for any content that includes items and descriptions.
A. ol B. ul C. dl D. il
You can use common external commands, such as find and sed, in your Bash scripts.
a. true b. false