Applying OOP
Applying OOP
{ int x = 1; B. Hi
switch(x) { C. HelloHi
{ int a,b,c; B. 50
a = 10, b = 15; C. 20
a = 2 * a; b = 2 * b; D. 15
Institution Name Document No.
{ int i; B. 4
{ D. compiler error
cout << i<<” “;
}
return 0;}
}
{ int i; B. 4
{ D. compiler error
cout << i<<” “;
}
return 0;}
}
Institution Name Document No.