Given the following seqment of code containing a group of
nested if instructions: y = 9; if ((x==3) || (x == 5)) y++;
else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8;
if the value of x is 4 before the nested IFs are executed,
what is the value of y after the nested IFs are executed?
No Answer is Posted For this Question
Be the First to Post Answer
What do you know about near, far and huge pointer?
What are member functions used in c++?
What is the use of "new" operator?
Is it possible for a member function to use delete this?
what is the use of void main() in C++ language?
How does c++ sort work?
Explain the difference between struct and class in terms of access modifier.
Which programming language should I learn first?
Explain what is polymorphism in c++?
Is c++ still being used?
Which bit wise operator is suitable for turning off a particular bit in a number?
What is an Object/Instance?