What is the output of the following code given the function definition that follows:

cout << myFunction (7, 5, 2); // code in main

int myFunction (int a, int b, int c) // function definition
{
int p = a + 2 * b + c;
return p + 3;
}

22

Computer Science & Information Technology

You might also like to view...

Rich media refers to which of the following?

A) Computer interaction that responds to your actions B) Online pictures C) Stock photography D) Paid advertising in an online video

Computer Science & Information Technology

Which of the following CANNOT be used with the mail merge procedure?

A) Cards B) E-mails C) Envelopes D) Labels

Computer Science & Information Technology