Question: Question 6 15 P Given the following data definitions: int t1 = 44; double t3 = -9.25; string ts= UOB 2021; ofstream outopen(testxort); The C+


Question 6 15 P Given the following data definitions: int t1 = 44; double t3 = -9.25; string ts= "UOB 2021"; ofstream outopen("testxort"); The C+ statement that correctly stores the 3 values from the above defined variables into a file testx.txt is A testx > ti, B testX >> t3 >> ts >> t1; C) out >> t3 >> ts >> t1: D out > t1; Question 7 double tab[5] = {15,9,9,12,15); for(int i = 0;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
