Question: 24, which repetition constructs will properly repeat the loop body while not at the end-of-file for input file object DataFile A. while(! DataFile) B. while
24, which repetition constructs will properly repeat the loop body while not at the end-of-file for input file object DataFile A. while(! DataFile) B. while ( ! DataFile.eof) C. while (! eof()) D. while (! eof.DataFile()) 25. The argument and parameters must agree in number, and identifier name. A. B. must agree in number and order. C. must agree in data type and identifier name. 26. In the following function prototype: int fun1(double& Num1, double& Num 2) A. Function fun1 can not modify the arguments passed to Num1 and Num2 B. Function fun1 can modify the arguments passed to both Num1 and Num2 C. Function fun1 can only modify the argument passed to Num1 D. Function fun1 can only modify the argument passed to Num2 27. A restriction on arrays in C++ is A. The size of the array must be specified when the program is written. B. C++ does not do range checking on array subscripts. C. The assignment operator may not be used to copy one array to another D. All of the above are restrictions on arrays in C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
