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
List the merits and demerits of declaring a nested class in C++?
Explain the virtual inheritance in c++.
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
Compare compile time polymorphism and Runtime polymorphism
How does code-bloating occur in c++?
Which is the best c++ software?
What is called array?
What are different types of polymorphism supported by C++
What is a static element?
When is the destructor called?
What is meant by the term name mangling in c++?
Is std :: string immutable?