Question: I need a solution within 15 minutes 4. to read from a file, we have to activate the member: a) ofstream b) ifstream c) stream

I need a solution within 15 minutes

I need a solution within 15 minutes 4. to read from a

4. to read from a file, we have to activate the member: a) ofstream b) ifstream c) stream d) iostream 5. The function that can be used to shutdown a file is: a) open b) close terminate 4) break 6. We can use the private variables of functions of a class: a) inside the class only b) anywhere in the program c) inside the main program only di cannot be used 7. The variables declared inside the class are known as: a) function members b) data members c) object members d) class members Q3. Choose True or False: (20 marks) 1. Float variables in C++ language need more memory space than double. a) True b) False 2. n means tab (leaves 7 spaces). a) True b) False 3. Passing the values of variables to any function is via the main function. a) True b) False 4. Declaration and definition of functions can be after the main function. a) True b) False 5. Elements of array can be from different types. a) True b) False 6. We have a is ID array, where a=(1 2 3 4 51, then the value of the element in the position 5 is 5 a) True b) False 7. The end of the string is 0. 3) True b) False

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!