Computer Science - Object Oriented Programming Using C++

6.
The expression c = i++ causes
the value of i assigned to c and then i incremented by 1
i to be incremented by 1 and then the value of i assigned to c
value of i assigned to c
i to be incremented by 1
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

7.
An identifier in C
is a name of a thing such as variable and function
is made up of letters, numerals, and the underscore
can contain both uppercase and lowercase letters
All of the above
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

8.
Which of the following creates a String named constant called partNo, whose value is AB45?
const char[4] partNo = "AB45";
const char[5] partNo = 'AB45';
const char[5] partNo = "AB45";
const char partNo[5] = "AB45";
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

9.
The bitwise AND operator is represented by the symbol
^
&
&&
>>
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

10.
The exclusive OR operator gives the result 1 when
both the bits are 0
one bit is 0 and the other is 1
both the bits are 1
no hard and fast rule
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.