S.S.S. SAMITI's S.A.M. D. Higher Secondary School of Science
S.S.S. SAMITI's S.A.M. D. Higher Secondary School of Science
S.S.S. SAMITI’s
S.A.M. D. Higher Secondary School of
Science, Kavale, Ponda – Goa
INSTRUCTIONS:
required.
int a=30;
void fun(int &x, int y, int &z)
{
x+=a/2;
z-=y;
a-=5;
y+=a-z;
}
int main()
{
int a=2,b=3,c=4;
fun(a,b,c);
cout<<endl<<a<<","<<b<<","<<c<<","<<::a;
fun(b,c,a);
cout<<endl<<a<<","<<b<<","<<c<<","<<::a;
}
7] A Boolean function F defined on three (2)
input variables X,Y,Z gives an output 1 if
and only if there are odd number of 1’s in
the input. Draw the truth table for the
above function and express it in canonical
SOP form.
🟔🟔🟔🟔🟔🟔🟔🟔🟔🟔🟔🟔🟔🟔