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 is an overflow error?
What is time_t c++?
What is size of empty class object
What are the benefits of operator overloading?
Shall we use 'free' to free memory assigned by new, What are the further consequences??
What is an incomplete type?
Explain the term memory alignment?
How to defines the function in c++?
How to write a program such that it will delete itself after exectution?
Does c++ have string data type?
What is the difference between new() and malloc()?
What are 2 ways of exporting a function from a dll?