Question: 21. The C++ string is a primitive data type? a. True b. False 22. The C++ bool type is a primitive data type a) True

21. The C++ string is a primitive data type? a. True b. False 22. The C++ bool type is a primitive data type a) True b) False 23. Class constructors return a void type? a) True b) False 24. Mergesort is an in-place method a) True b) False 25. The string constant "myString" can be passed to a function as a reference parameter, as in the call foo(x, "myString", outputStream); a) True b) False 26, string f="test". f.length() is valid and will be 4? a) True b) False 27. char*s="test". s.length() is valid and will be 4? a) True b) False 28. What is the value of the expression (8 5/2) (1/2-5) = 5 a) True b) False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
