The following code fragment

What is the output of the following code fragment?  (9)

int num1 = 3;

int num2 = 5;

cout < num1=””>< “=”” “=””>< num2=””><>

if (num1 + num2 > 7)

    int num2 = 12;

    int num3;

    num3 = num2 – num1;

    num1 = num2   * num3;

    num2 = num3 / num1;

    cout < num1=””>< “=”” “=””>< num2=””>< endl;=””>

 cout < num1=””>< “=”” “=””>< num2=””><>

What is the signature of a function? (13)

WhatsApp
Hello! Need help with your assignments?

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

🛡️ Worried About Plagiarism? Run a Free Turnitin Check Today!
Get peace of mind with a 100% AI-Free Report and expert editing assistance.

X