What is the value of i after the following function call?

//function definition
int doSomething(int value)
{
value = 35;
return value;
value = 13
}

//fragment of main program
int i=0;
cout << doSomething(i);

a. 13
b. 35
c. 48
d. 0


d. 0

Computer Science & Information Technology

You might also like to view...

A printer ____ is software used to manage the printer device.

A. driver B. subroutine C. domain D. cookie

Computer Science & Information Technology

The ________ feature allows you to create freeform tables with rows and columns of various sizes

Fill in the blank(s) with correct word

Computer Science & Information Technology

A ________ can be created so a reader can click on a page number and jump to that specific page

A) marker B) comment C) hyperlink D) quick style

Computer Science & Information Technology

To save an existing workbook as a template, ________

A) share the workbook B) remove any specific data C) create a change history log D) leave the workbook in its original form

Computer Science & Information Technology