Question: Where the file named File.txt? a) program b) disk drive c) screen d) keyboard The expression getline (cin, message) will continuously accept and store characters
Where the file named File.txt? a) program b) disk drive c) screen d) keyboard The expression getline (cin, message) will continuously accept and store characters typed at the terminal keyboard until th _____ key is pressed. a) Shift b) Enter c) ESC d) Ctrl Which of the following is false about a function to which any array is being passed? a) It always knows the size of the array that is being passed. b) It is being passed the address of the first element in the array. c) It is able to modify the values stored in the array. d) The array name is used as an argument in the function call. When an argument is passed-by value, changes to that argument in the called function ______ affect the original variables value. a) do b) do not c) may d) may or may not In the expression n = 1 + [] %6, the maximum value of n will be: a) 2 b) 4 c) 6 d) 8 c++ functions other than main are executed a) before main executes b) after main executes c) when they are called by another function. d) None of the above. Two adjacent variable names in a single declaration are separated by __________ symbol. a) dot b) comma c) parentheses d) braces The data type of function returns in c++ cannot be a) int b) void c) double d) function sizeof for a string returns a) integer b) string c) double d) bool
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
