Question: plz i want solv all ( take you time ) Q4 --------------------- Q 5 -------------------- Q 6 -------------------- Q 7 -------------------- Q 8 -------------------- Q

plz i want solv all ( take you time )
 plz i want solv all ( take you time ) Q4 Q4
--------------------- Q 5 -------------------- Q 6 -------------------- Q 7 -------------------- Q 8
---------------------
-------------------- Q 9 --------------------- Q 10 Q4) Consider the following statements: struct Q 5
--------------------
studentName \{ string first; string last; \}; int main0 studentName st1, st2; Q 6
\} Mark the following statements as valid or invalid. If a statement
--------------------
is invalid, explain why. a. st1.first = "William"; b. st1.last = "Smith"; Q 7
--------------------
c. cin>st2; d. cout list(50); b. vector string > nameList; Q7) Consider Q 8
--------------------
the following code: vector> s 1={ "Majmaah", "University", "Programming" }; Q8) What Q 9
is the output of the following C++ code? vector intList(5); int i;
---------------------
for (i=0;i>myL ist (5) unsigned int length; myList[0]=3; for ( int i=1;i Q 10

Q4) Consider the following statements: struct studentName \{ string first; string last; \}; int main0 studentName st1, st2; \} Mark the following statements as valid or invalid. If a statement is invalid, explain why. a. st1.first = "William"; b. st1.last = "Smith"; c. cin>st2; d. cout list(50); b. vector string > nameList; Q7) Consider the following code: vector> s 1={ "Majmaah", "University", "Programming" }; Q8) What is the output of the following C++ code? vector intList(5); int i; for (i=0;i>myL ist (5) unsigned int length; myList[0]=3; for ( int i=1;i

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!