Computer Science - Object Oriented Programming Using C++

36.
You can use the C++ _____ function to assign a value to a String variable
assign
copy
string
strcopy
strcpy
Answer: Option
Explanation:
No answer description is available. Let's discuss.

37.
A measure of the strength of the connection between two functions is
cohesion
coupling
dependence
subjection
Answer: Option
Explanation:
No answer description is available. Let's discuss.

38.
The following statement where T is true and F is false T&&T||F&&T
is true
is false
is wrong
not applicable in C language
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

39.
Which of the following statements declares a variable that can contain a decimal number?
dec payRate;
dec hourlyPay
float payRate
float hourlyPay;
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

40.
The statement int num[2][3]={ {1,2}, {3,4}, {5, 6} };
assigns a value 2 to num[1][2]
assigns a value 4 to num[1][2]
gives an error message
assigns a value 3 to num[1][2]
Answer: Option
Explanation:
No answer description is available. Let's discuss.