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
Which should be more useful: the protected and public virtuals?
What is time_t c++?
What is the default access level?
What is the difference between strcpy() and strncpy()?
What is the difference between containment and delegation?
How is data hiding achieved in c++?
What is singleton pattern in c++?
What is function prototyping?
Differentiate between declaration and definition in C++?
Is vector a class in c++?
How do you establish an is-a relationship?
What language is a dll written in?