What is the value of choice after the following statements?
void getChoice(int& par_choice, in par_count);
int choice, count=3;
getChoice(choice, count);
void getChoice(int& par_choice, in par_count)
{
if(par_count<0)
par_choice =0;
if(par_count = 0)
par_choice=-1;
else
par_choice=99;
return;
}
a. 3
b. 0
c. –1
d. 99
d. 99
Computer Science & Information Technology
You might also like to view...
Which one of the following packages provides encryption support?
a. org.json b. javax.* c. android.* d. junit.*
Computer Science & Information Technology
Choose the sentence type of the following sentence.The capital of Illinois is Springfield, and the largest city is Chicago.?
A. ?Simple B. ?Compound C. ?Complex D. ?Compound-complex
Computer Science & Information Technology