Question
16) Expressions that result in the value of either true or false. variable operator Boolean function 17) Which boolean operation is described by the following
16) Expressions that result in the value of either true or false. variable operator Boolean function
17) Which boolean operation is described by the following table?
A B Operation True True True True False True False True True False False False Not And Or None of the above
18) The various characteristics of an object. selections properties algorithms methods
19)Given the function definition:-
void something ( int a, int& b ) { int c; c = a + 2; a = a * 3; b = c + a; }
what is the output of the following code fragment that invokes something? (All variables are of type int.) r = 1; s = 2; t = 3; something(t, s); cout << r << ' ' << s << ' ' << t << endl;
5 14 3 1 10 3 1 14 9 1 14 3
20) Consider the following array declaration and initialization:- int array[8] = {0,1,2,3};
What is the value of array[7]?
2 1 0 3
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started