CSE 1342 TEST 1 choice- circle the letter of the single best answer. (3 points e
ID: 3887705 • Letter: C
Question
CSE 1342 TEST 1 choice- circle the letter of the single best answer. (3 points each) following uses C++11's list initialization to initialize count to 0? 1: Which of the a. int count a 0: b. int d. int count(o) doos not overwrte a location? a. int a b. number a 12 C: y = y + 2; d, width length; 3: Which of the following is a compitation error? a local variable in a function before it is used b. Using a triple eq uals sign instoad of a double equals sign in the condition of an if eses for the condition of an if statement c·Omitting the left and right parenth d. AN of the above 4: Typically, you cannot call a member function of a class until you create an of 5: Which of the following ste a. The compiler a knowvas about fuda nenta types that aro buit into c.. tements is true? b. A new type that you create is known as a user propo -defined typo y, can be reused by other programmers specify the object's name. d All of the above are true 6: To call a member function for a specific object, you s then the member function name and a set of parentheses. dot oporator b. colon d. 7: Which of the following statements is false? f arguments in a function call must match the number and orde b. Every function body is delimited by an opening left brace and a closirg right brace. Within the braces are one or more statements that perform the function's taskis of parameters in the function definition's parameter list c. When program execution reaches a function's closing brace, the function returms to ts d. None of the above is false. Page 1 of SExplanation / Answer
Answer:-
Part 1:- Option A
int count = 0;
all other initialiazation are of wrong syntax
Part 2:- Option A
int a;
Part 3:- Option D
All of the above option shows the compilation error
Part 4:- Option A
without a object you are not able to call the member function of a class
Part 5:- Option D
All statements are true
Part 6 :- Option A
Dot Operator (.)
Part 7:- Option D
All statement are false