Question: 12 02 71 Which line of code contains a syntax error? int main() { string usrName; || A) char usrOption; // B) usrName = Travis


Which line of code contains a syntax error? int main() { string usrName; || A) char usrOption; // B) usrName = "Travis Jones"; // C) usrOption = a; || D) Il main code return 0; } Select one: O a. string usrName; O b. char usrOption; O c. usrName = "Travis Jones": O d. usrOption = "a"; What is the output of the following code? int main() { int x = 5; int y = 6; int z = 2; X = x + y; y = x - 2; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
