Question 30
Assert terminates the program with a message when its boolean argument turns out to be TRUE.
A - True
B - False
Question 31
Multiple arguments going into to a function as parameters are separated by a
A - commas ','
B - period '.'
C - semicolons ';'
D - comments
Question 32
The functions pow(), sqrt(), and fabs() are found in which include file?
A - cstdlib
B - stdlib
C - iostream
D - cmath
E - std
Question 33
This question may have 0 to multiple answers. Choose all that apply. How do you concatenate two C++ strings, str1 and str2?
A - concate(str1, str2);
B - strconcate(str1, str2);
C - str1 = str2;
D - str1.add(str2);
E - str1 += str2;
30. B - False 31. A - commas ',' 32. D - cmath 33. A - concate(str1, str2); E - str1 += str2;
Question 30 Assert terminates the program with a message when its boolean argument turns out to...
Question 1 An array is NOT: A - Made up of different data types. B - Subscripted by integers. C - A consecutive group of memory chunks. D - None of the choices. Question 2 How many times is the body of the loop executed? int i=1; while(true) { cout << i; if(++i==5) break; } A - Forever B - 4 C - 5 D - 6 E - 0 Question 3 What is wrong with the following piece of...
Hi, it's C++ question. Only can use <iostream> and <fstream>libraries Please help me, thanks Question Description: For this project you will write a program to: a) read-in the 10 first names from a file (the file is a priori given to have exactly 10 entries, of a maximum length of 8 letters each) into a 2-dimensional character array, b) output the names to the terminal with each one preceded by a number indicating its original order in the list, c)...
Santa Monica College CS 20A: Data Structures with C++ Spring 2019 Name: True/False: Circle one Assignment 1 ID: 1. True / False 2. True / False 3. True / False 4. True / False 5. True / False 6. True / False 7. True / False 8. True / False 9. True / False 10. True / False Variable and functions identifiers can only begin with alphabet and digit. Compile time array sizes can be non-constant variables. Compile time array...